Skip to content
CalcGospel 國際數學圖譜

Regression Line Explorer

Move the data, then watch the line of best fit and correlation respond

Correlation and regression

Drag any point to reshape the data

Live model
Interactive regression scatter plot Drag the data points. The regression line and correlation coefficient update automatically.

Drag the dots

The regression line always passes through the mean point (x̄, ȳ). Drag the data and this remains true.

Tip: try moving just one point far away

Try a pattern

Strength is not steepness

A steep line is not automatically a strong correlation. The value of |r| depends on how closely the points follow a straight-line pattern.

The mean point stays on the line

The highlighted point is (x̄, ȳ). Move the data and observe that the regression line continues to pass through it.