← Back to Course

PCA: Dimensionality Reduction

Visualize principal components, projections, and variance explained in 2D data

How to Use

Click "Generate Data" to create correlated 2D data. The principal component axes are shown as arrows. Use the rotation slider to transform the data and see how PC axes change. Toggle projection lines and reconstruction to understand how PCA reduces dimensionality.

2D Scatter Plot with Principal Components

Projection onto PC1 (Histogram)

PCA Results

PC1 Variance-
PC2 Variance-
PC1 Explained-
PC2 Explained-
Eigenvalue 1-
Eigenvalue 2-
PC1 Direction-
PC2 Direction-