HomeStatisticsPearson Correlation Coefficient Explorer

Pearson Correlation Coefficient Explorer

Interactive 3D scatter-plot simulator: generate bivariate data with a chosen correlation strength and noise level, and watch the Pearson correlation coefficient r, covariance and R² update live alongside the least-squares fit line.

Statistics3DEasy60 FPS
data-science ↗ Open standalone

This simulator generates a synthetic bivariate dataset from a target population correlation ρ that you set, renders it as an interactive 3D point cloud, and computes the real sample statistics live: the Pearson correlation coefficient r, the covariance, the R² of a least-squares fit, and the slope of that fit line. Adjusting sample size shows how the measured r converges toward ρ as N grows, and adjusting spread demonstrates that r is invariant to the scale of the data even though the cloud looks wider or narrower. It is a hands-on companion to the statistical-foundations section of data science: the same formula that underlies regression, feature correlation checks and exploratory data analysis, made tangible.

⚙ Under the hood

Generate a synthetic 3D scatter plot from a chosen population correlation and watch the Pearson coefficient r, covariance, R² and the least-squares fit line update live from the actual sample.

statisticscorrelationdata-scienceregressionsampling

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)