Correlation as a Slope

Drag points A, B, C, D, and E around. Observe how the standardized coordinates move. The slope of the least squares regression line of the standardized coordinates is equal to the correlation coefficient.