DevTools Logo

Embedding Vector Visualizer

Embedding Vector Visualizer

Paste embedding vectors and inspect them as a heatmap, parallel-coordinate plot or 2D PCA projection — all in your browser.

Runs in your browser
Try an example

Vector data

24 vectors · 8 dims · 1 line · 3,793 chars

Up to 5,000 vectors × 4,096 dimensions. Bare NaN/Infinity tokens are replaced with zero and counted. Data stays in this tab.

Views

24 vectors · 8 dims

Hover a view to inspect dimensions and values.

Dataset statistics and per-dimension summaries
StatisticValue
Vectors / dimensions24 / 8
Global mean / std-0.3590 / 0.9150
L2 norm min / mean / max1.7618 / 3.9337 / 6.4037
Dead dimensions (std < 1e-6)none

Power-iteration PCA runs on a mean-centered Float32 copy; no covariance matrix is materialized and no vector data leaves the tab.

Examples

Two-cluster fixture

Input
[[0.8, 0.1, ...], [-0.7, 0.2, ...], ...]

Load the cluster sample and switch to PCA to see two separated groups with explained-variance labels.

Dead dimension

Input
Columns with standard deviation below 1e-6

The heatmap shows a flat column and the stats table lists the affected dimension index.

Normalization toggle

Input
None → Per-vector unit length

Unit normalization changes PCA geometry by removing magnitude differences between vectors.

About this tool

A ten-second structural look at embedding health without a notebook. Paste a flat vector, a matrix, a {vectors: [...]} wrapper or JSONL rows and get three synchronized views: a diverging heatmap that exposes dead dimensions, a parallel-coordinate plot for comparing vector profiles, and a 2D PCA projection computed with power iteration on a mean-centered Float32 copy — no d×d covariance matrix, no machine-learning libraries. Toggle per-vector unit length or per-dimension z-score normalization and watch the geometry change. The stats rail reports global mean/std, L2 norms, norm outliers and constant dimensions, and PCA coordinates can be downloaded as JSON. Everything runs locally; proprietary vectors are never uploaded.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Paste vector array or JSONL

    Load single or multi-row embedding vectors in JSON or JSONL format.

  2. Toggle normalization mode

    Switch between raw values, L2 unit length, and per-dimension z-score.

  3. Explore heatmap and 2D PCA

    Inspect dead dimensions, norm outliers, and 2D principal-component clusters.

Use cases

Two-cluster fixture

Load the cluster sample and switch to PCA to see two separated groups with explained-variance labels.

Dead dimension

The heatmap shows a flat column and the stats table lists the affected dimension index.

Normalization toggle

Unit normalization changes PCA geometry by removing magnitude differences between vectors.

Common mistakes

Mistake:Should I enable unit normalization or z-score scaling before PCA?

Fix:Use unit-length normalization when downstream search uses cosine similarity so magnitude differences don't dominate variance, or z-score scaling when checking whether low-variance dimensions carry structure.

Mistake:What is a dead or collapsed embedding dimension?

Fix:A coordinate whose standard deviation across your sample is near zero (< 1e-6) contributes no discriminative signal and shows up as a flat band in the heatmap and stats rail.

Frequently asked questions

How does 2D PCA run in the browser without Python libraries?

Mean-centered Float32 vectors are projected onto their top two principal axes via power iteration with deflation, avoiding materializing a massive d×d covariance matrix.

Should I enable unit normalization or z-score scaling before PCA?

Use unit-length normalization when downstream search uses cosine similarity so magnitude differences don't dominate variance, or z-score scaling when checking whether low-variance dimensions carry structure.

What is a dead or collapsed embedding dimension?

A coordinate whose standard deviation across your sample is near zero (< 1e-6) contributes no discriminative signal and shows up as a flat band in the heatmap and stats rail.

Are pasted customer or proprietary vectors stored?

No. Vectors live only in tab memory and are discarded as soon as you clear the input or close the page.