See what dimensionality reduction keeps.

Run PCA and classical MDS on the same observations. PCA protects variance. MDS protects pairwise distances. The difference stops being theoretical when you can see and measure both.

Editable dataset

label, group, feature 1, feature 2, feature 3

8 observations and 3 numeric features ready

Projection comparison

The representative sample is computed on load.

COMPUTED
PCA variance retained
MDS normalized stress
projected observations
PCA MAXIMUM VARIANCE
Group AGroup B
CLASSICAL MDS MINIMUM DISTORTION
Group AGroup B
ObservationPCA xPCA yMDS xMDS y

One dataset. Two definitions of “important.”

PCA rotates standardized features toward directions with the greatest spread. Classical MDS starts from every pairwise distance and searches for a lower-dimensional map that preserves those relationships. Compare the same labels across both panels: similar geometry means the dominant variance also carries most of the distance structure.

PCA
covariance → eigenvectors

MDS
distances² → centered Gram matrix

Read retention

The first two PCA eigenvalues divided by all eigenvalues tell you how much standardized variance survives the projection. Higher is better, but it does not guarantee every local distance survives.

Read stress

Normalized stress compares original distances with distances in the MDS map. Near zero means the 2D geometry faithfully preserves the original relationships.

Make it yours

Replace the sample with measurements from a real portfolio dataset. Keep labels and groups, add three numeric features, then export the two embeddings as analysis-ready evidence.

Your first dimensionality-reduction artifact is already populated.

Super generates helpful tools and automates fact-checking across the internet proactively. If you enjoyed this tool, build your own with Super and share it with a friend.