Dimensionality reduction made visible

PCA Visualizer

Paste a multivariate dataset and watch PCA compute standardization, covariance, eigenvectors, loadings, and projection directly in the browser.

Points: 140Variables: 4Standardize (z-score)

Data input

Paste a multivariate table copied from Excel, Google Sheets, or CSV and the app will detect numeric and categorical columns automatically.

Rows detected: 140Numeric variables detected: 4

Analysis controls

Standardizes with z-scores so variables on larger scales do not dominate the PCA.

Visualizations

Switch between the projected cloud, the loadings geometry, explained variance, and the original correlation structure.

A
B

Quick metrics

PC1 variance98.8%
PC2 variance1.2%
Kaiser (>1)1
Components for 80%1

Metrics and loadings

ComponentEigenvalueExplained (%)Cumulative (%)
PC13.9598.8%98.8%
PC20.051.2%100.0%
PC30.000.0%100.0%
PC40.000.0%100.0%

PC1

x41.00
x11.00
x20.99
x30.98

PC2

x30.18
x2-0.12
x1-0.04
x4-0.02

PC3

x40.00
x2-0.00
x3-0.00
x10.00

PC4

x10.00
x4-0.00
x2-0.00
x3-0.00

Automatic interpretation of PC1 and PC2

PC1 is dominated by x4 and x1 (loadings 1.00 and 1.00), which are strongly positively correlated.

PC2 is dominated by x3 and x2 (loadings 0.18 and -0.12), which are strongly positively correlated.

About this tool

In high-dimensional problems, the curse of dimensionality is a real obstacle. Principal Component Analysis (PCA) transforms the original variables into a new set of uncorrelated variables, the principal components, which are linear combinations of the originals ordered from highest to lowest explained variance.

Mathematically, PCA solves the eigenvalue problem of the covariance matrix Σ\Sigma. The first principal component is the vector w1=arg⁡max⁡∥w∥=1wTΣw,\mathbf{w}_1 = \arg\max_{\|\mathbf{w}\|=1} \mathbf{w}^T\Sigma\mathbf{w}, the direction that maximizes projected variance. The eigenvalues λ1≥λ2≥⋯≥λp\lambda_1 \geq \lambda_2 \geq \cdots \geq \lambda_p indicate the variance explained by each component, and the cumulative proportion ∑k=1qλk∑k=1pλk\frac{\sum_{k=1}^{q}\lambda_k}{\sum_{k=1}^{p}\lambda_k} indicates how much information is preserved when reducing to qq dimensions.

This tool lets you explore PCA visually. Observe how data projects onto the principal component space, analyze the scree plot to choose the number of components, and study the factor loadings to understand which variables contribute most to each component.