Skip to content
LoveToCalc

Scatter plots

One point for each measurement of two quantities: the chart that shows whether they are related.

What the chart shows

A scatter plot draws pairs of values, two quantities measured on the same person, object or occasion. Each pair becomes a point, with one quantity along the horizontal axis and the other along the vertical one. The NIST/SEMATECH e-Handbook of Statistical Methods describes the chart as a way to reveal relationships between two variables: the vertical axis usually holds the quantity to be explained, the horizontal one the quantity suspected to be related to it.

Points051015202530012345678Preparation (h)
Eight pupils: the hours they prepared for a test and their score on it, out of 30.
The data behind the figure
Preparation (h)Points
112
215
314
419
521
620
725
826

The pattern in the cloud of points is what the chart shows:

How to read it

When it fits and when it does not

A scatter plot fits when two quantities have been measured in pairs and the question is whether they are related. UNECE’s guide to presenting statistics calls it the most accurate way to display correlations, and notes that some analysts still prefer bar charts, as scatter plots can be difficult to interpret.

It does not fit when:

Common mistakes

Going deeper: what r and the line say, and what they do not

The correlation coefficient and the line of best fit summarise the points with a few numbers, and different clouds of points can give the same numbers. In 1973 F. J. Anscombe constructed four data sets of eleven points each in which x has the mean 9 and y the mean 7.5, the correlation is 0.82 and the line of best fit is y = 3 + 0.5x in all four. In a scatter plot they look entirely different: a cloud around a line, a curve, a straight line with a single outlier, and ten points directly above one another with the eleventh far to the side. The chart is needed even when the numbers are known.

The square of r, r², is the share of the variation in the y values that the line explains. For the eight pupils r² ≈ 0.93. That says how well the line describes these eight, not that preparation time explains 93% of test results in general.

The least squares method places the line so that the sum of the squares of the vertical distances is as small as possible. With the axes swapped the distances are measured horizontally instead, and that gives a different line. For the eight pupils the line for y in x has the slope 2, while the line for x in y, rewritten as y in terms of x, has a slope of about 2.14. The two coincide only when r = 1 or r = −1.

See also

Sources

Updated November 7, 2026