Embeddings Concept
Explore embedding projections, similarity, analogies, nearest neighbors, and statistics locally.
Embedding Explorer
Nearest neighbors
Select a point| Word | Similarity | Action |
|---|---|---|
| Select a point to inspect its nearest neighbors. | ||
Legend
- Search match
- Default word
- Selected
- Group highlight
- Group highlight
- Group highlight
- Derived candidate
Similarity matrix (cosine)
Cells show pairwise cosine similarity (first 28 words). Red = high, blue = low.
Select a word below to highlight its row.
Stats (cosine)
Word embeddings visualizer: explore vector relationships
Compare words as points, neighbors, distances, and analogies without sending your data to a server. Demo vectors are educational and do not represent a live model's quality.
Features
- Client-side demo vectors with hydration-safe PCA and hash projections
- Scatter and arc views with search, hover, clustering, and nearest neighbors
- Cosine, dot, Euclidean, Manhattan, and Chebyshev comparisons
- Analogy solver, batch analogies, similarity heatmap, and per-word statistics
- Import, SVG/PNG/JSON/CSV export, URL-hash sharing, and no API key required
How to use it
- Start with a preset or import your supported data.
- Choose PCA or hash projection and a distance metric.
- Select a point to inspect neighbors, analogies, and statistics.
Frequently asked questions
Does this use a live embedding model?
No. It uses deterministic demo vectors generated in your browser so the visualizer stays fast, private, static, and dependency-free.
What does PCA show?
PCA projects the demo vectors onto two principal directions so relative structure can be explored on a 2D canvas.
Can I upload my own vectors?
Yes. Use the import control for supported text, CSV, JSON, or TSV data, then inspect projections, similarity, and exports locally.