numiqo

Principal Component Analysis

Explore interactively how PCA finds the axes of maximum variance. Use the 2D view to drag points directly and the 3D view to rotate the data cloud.

PCA Variation

Drag the blue line to rotate the direction. The right view shows the points projected onto that line.

Drag the blue line to rotate the direction.
Points projected into one-dimensional space.
Variance explained by this line91.1%

PCA in 2D

Drag points to watch the principal components rotate. Shift+click adds a point, Alt+click removes one.

Drag points or reshape the cloud with sliders.
PC1
PC2
Mean
PC1 variance83.3%
PC2 variance16.7%
Mean(0.16, 0.24)
Points projected into PC1 (x) and PC2 (y).
PC1 axis
PC2 axis

PCA in 3D

Rotate the view to see how the principal axes align with the direction of maximum variance.

Example data
Drag to rotate. The axes show PC1, PC2, and PC3.
PC1
PC2
PC3
Points projected onto PC1 (x) and PC2 (y).
PC1 axis
PC2 axis
PC1 variance60.1%
PC2 variance37.4%
PC3 variance2.5%

Real World Example

Explore PCA on a real dataset from the UCI Wine study. See how the variables compress into a few principal components.

Wine Data from: Aeberhard, S. & Forina, M. (1992). Wine [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5PC7J.

PCA real world example

Statistics made easy

With this statistics e-book, you'll understand the basics of statistics with lots of graphs and simple examples.

  • many illustrative examples
  • ideal for exams and theses
  • statistics made easy on 464 pages
  • 8th revised edition (March 2026)

Only €8.99

Statistics made easy book cover

Probability Theory

With this e-book, you will easily understand the basics of probability through many simple examples.

  • Many illustrative examples
  • Ideal for your final thesis
  • Probability theory in 40 pages
  • Based on our YouTube Videos

Only €3.99

Free sample
Probability Theory book cover

Get both books together

Combine Statistics made easy and Probability Theory in one package and build a stronger foundation for exams, theses, and practical data analysis.

  • Two books that fit together perfectly
  • Ideal for study, projects, and your final thesis
  • Better value than buying each book separately

Bundle price €12.49

Statistics made easy book cover+Probability Theory book cover