Interactive PCA Simulation

Developed by: Manaranjan Pradhan

Drag to rotate the first principal component and observe reconstruction error when using only PC1

Dataset Means
Math Mean: 0.0
Science Mean: 0.0
PC1 (Red Line)
Angle: 0°
PC1 = 1.000x + 0.000y
PC2 (Blue Line)
Angle: 90°
PC2 = 0.000x + 1.000y
Variance Captured by PC1
0%

Student Data: Original vs Centered vs Projected Values

Student Math (Raw) Science (Raw) Math (Centered) Science (Centered) PC1 Value PC2 Value