All labs

PCA Geometry: Projection, Scale, and What Variance Means

Rotate a data cloud, change a measurement unit, and see principal components move — the projection is geometry, not magic.

Ch 4 4.2
Explorer
Mathematical Core
18 mindifficulty 3/5

Controls

30°
4
1
8

A pure change of measurement unit — no new information.

Standardize columns

Divide each variable by its SD before decomposing.

Show projection residuals

Perpendicular drops onto PC1.

260
Random seed

Every result on this page is a deterministic function of the seed and the controls.

Principal axes

PC1 minimizes the sum of squared perpendicular distances — not vertical ones.

-50050-50050x₁x₂
PC1PC2Projection residuals

Scree

Share of total variance per component.

00.200.400.600.80112[0.60, 1.40) n=1[1.60, 2.40) n=2componentvariance share

PC1 scores

The one-dimensional summary you would carry forward.

-101-80-60-40-20020406080PC1 score
PC1 variance share
99.8%
PC2 variance share
0.2%
PC1 direction
1, 0.07
loadings on (x₁, x₂)
PC1 angle
3.8°
cloud drawn at 30°
SD of x₁
24.81
raw units
SD of x₂
2.01
raw units