Home / IGCSE Mathematics 0580 / Scatter diagrams
Cambridge IGCSE Mathematics 0580 · Statistics

Scatter diagrams

How to draw a scatter diagram from paired data, describe positive, negative and zero correlation, draw a line of best fit by eye and use it to make estimates, and judge when those estimates can be trusted.

C9.5E9.5Core and ExtendedFree lesson
What the syllabus says

C9.5 (Core)

  • 1 Draw and interpret scatter diagrams.
  • 2 Understand what is meant by positive, negative and zero correlation.
  • 3 Draw by eye, interpret and use a straight line of best fit.

Notes and examples

  • Plotted points should be clearly marked, for example as small crosses (×).
  • A line of best fit:
  • should be a single ruled line drawn by inspection
  • should extend across the full data set
  • does not need to coincide exactly with any of the points but there should be a roughly even distribution of points either side of the line over its entire length.

E9.5 (Extended)

  • 1 Draw and interpret scatter diagrams.
  • 2 Understand what is meant by positive, negative and zero correlation.
  • 3 Draw by eye, interpret and use a straight line of best fit.

Notes and examples

  • Plotted points should be clearly marked, for example as small crosses (×).
  • A line of best fit:
  • should be a single ruled line drawn by inspection
  • should extend across the full data set
  • does not need to coincide exactly with any of the points but there should be a roughly even distribution of points either side of the line over its entire length.

Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.

What a scatter diagram shows

A scatter diagram shows paired data: two measurements taken from each person or object, such as the height and the mass of each of 10 adults. Each person becomes one point, with one measurement across and the other up.

The point of a scatter diagram is to see whether the two measurements are related. Do taller people tend to be heavier? Do older laptops tend to have shorter battery lives? One pair of values tells you nothing, but twenty points together show a pattern, or show that there is none.

Usually the variable you think might influence the other goes across (height, age, temperature) and the one that might respond goes up (mass, battery life, sales). Either way round is acceptable unless the question fixes the axes.

Drawing a scatter diagram

To plot a scatter diagram:

  1. Choose a scale on each axis that covers the data. The axes do not have to start at 0; a jagged break in the axis is not needed in the exam if the grid is printed for you.
  2. Work out what one small square is worth on each axis before you plot anything. On a scale where 10 big units span 5 large squares with 5 small squares each, one small square is 10÷25=0.4, not 1.
  3. Plot each pair as one point, across then up, like coordinates.
  4. Mark each point clearly, for example as a small cross (×). The centre of the cross is the point, so a cross is more accurate than a large dot.

Do not join the points. A scatter diagram is a set of separate points; joining them suggests a pattern from one person to the next that does not exist. Check at the end that you have plotted as many points as there are pairs in the table.

Worked example 1

The heights and masses of 10 adults are shown in the table. Plot them on a scatter diagram.

Heights and masses of 10 adults
Height (cm)150155158162165168172175180185
Mass (kg)52585563616870747784
  1. Height goes across from 145 to 190 cm, mass up from 40 to 90 kg.

  2. Each large square across is 5 cm and each small square is 1 cm; each large square up is 10 kg and each small square is 2 kg.

  3. The first adult is the point (150,52): across to 150, up to 52, a little cross. The second is (155,58), and so on.

  4. Ten pairs give ten crosses.

  5. Height (cm)Mass (kg)145150155160165170175180185190405060708090

Answer: Ten crosses, one for each adult, rising from left to right.

Positive, negative and zero correlation

Correlation describes the relationship shown by a scatter diagram.

  • Positive correlation: as one variable increases, the other tends to increase. The points slope upwards from left to right. Taller adults tend to be heavier.
  • Negative correlation: as one variable increases, the other tends to decrease. The points slope downwards from left to right. Older laptops tend to have shorter battery lives.
  • Zero correlation (no correlation): there is no pattern. Knowing one value tells you nothing about the other. The day of the month you were born has nothing to do with your height.

Correlation describes a tendency, not a rule. In a positive correlation, an individual pair can go against the trend: a shorter person can be heavier than a taller one. The pattern is in the points as a whole.

You can also describe how strong the correlation is: strong when the points lie close to a straight line, weak when they are loosely scattered around one. An exam answer of "positive" is enough where the question asks only for the type; "strong positive" is also correct.

When asked to interpret the correlation, say what it means in context: "the taller the adult, the heavier they tend to be", not just "positive".

Height (cm)Mass (kg)145150155160165170175180185190405060708090

Positive correlation: the points rise from left to right.

Age (years)Battery life (hours)123456246810120

Negative correlation: the points fall from left to right.

Day of the month bornHeight (cm)51015202530150160170180190

Zero correlation: no pattern at all.

Check yourself

A café records the outside temperature and the number of hot soups it sells each day for a month. What type of correlation would you expect?

Answer it in the portal, where your answer is checked as you type →

Correlation is not cause

A correlation shows that two things tend to change together. It does not show that one causes the other.

Ice cream sales and the number of people treated for sunburn show positive correlation, but ice cream does not cause sunburn. Both go up on hot, sunny days: a third factor, the weather, drives both. Sometimes a correlation is pure coincidence.

In an exam, if a statement claims that one variable causes the other, the safe answer is that the scatter diagram only shows a relationship, and that something else may explain it.

The line of best fit

When a scatter diagram shows positive or negative correlation, you can draw a line of best fit: a straight line that shows the trend of the points. The syllabus sets out exactly what a good one looks like. A line of best fit:

  • should be a single ruled line drawn by inspection (by eye), not a curve, and not a zigzag joining the points;
  • should extend across the full data set, from the leftmost points to the rightmost, not stop part of the way;
  • does not need to pass through any of the points, but there should be a roughly even distribution of points either side of the line over its entire length.

That last rule is the one most often broken. Joining the first and last points, or two points that happen to line up, rarely balances the rest. Lay your ruler along the cloud of points and turn it until about as many points are above it as below it, at the left end, in the middle and at the right end.

A useful check: the line of best fit should pass through, or very near, the mean point (x‾,y‾), the mean of the across values and the mean of the up values. If a question asks you to plot the mean point, your line must go through it.

Do not draw a line of best fit for zero correlation. There is no trend for it to show.

Worked example 2

For the 10 adults, the mean height is 167 cm and the mean mass is 66.2 kg. Draw a line of best fit and use it to estimate the mass of an adult who is 170 cm tall.

  1. Plot the mean point (167,66.2).

  2. Place a ruler through the mean point and turn it until the points are evenly balanced on both sides along its whole length. Draw the line from height 150 cm to height 185 cm, across the full data set.

  3. Height (cm)Mass (kg)145150155160165170175180185190405060708090mean
  4. Go up from 170 cm to the line and across to the mass axis: about 69 kg.

  5. Lines drawn by eye differ slightly, so an answer from about 67 to 71 kg would be accepted.

Answer: about 69 kg

Using a line of best fit, and when not to trust it

To estimate one value from the other, go from the value you know to the line of best fit, then across (or down) to the other axis, as you would read any graph. Show the lines you use.

Because the line is drawn by eye, every reading is an estimate, and mark schemes accept a range of answers.

An estimate is reliable when:

  • the correlation is strong, so the points lie close to the line;
  • the value you start from is inside the range of the data. Estimating inside the data is called interpolation.

An estimate is unreliable when you go outside the range of the data, called extrapolation. Nobody knows whether the trend continues beyond the data. The laptop line, carried on to 12 years, predicts a negative battery life, which is impossible. Say this in context when asked: "16 years is outside the range of the data, so the trend may not continue".

Check yourself

A line of best fit has been drawn on the laptop scatter diagram. Use it to estimate the battery life of a laptop that is 2.8 years old.

Age (years)Battery life (hours)123456246810120

Answer it in the portal, where your answer is checked as you type →

Points that do not fit

Sometimes one point lies well away from the pattern of the others. It may be a measuring or recording error, or a genuinely unusual case: a student who was ill on the day of a test, or a house with a swimming pool in a list of prices.

When you are asked to identify such a point, give its coordinates and, if asked, a sensible reason in context. When you draw a line of best fit, ignore a point that clearly does not fit, because one unusual value should not pull the trend line away from all the others.

Worked example 3

A line of best fit is drawn on the laptop scatter diagram through (1,9) and (5,4.4). (a) Find the gradient of the line and say what it means. (b) Estimate the battery life of a laptop that is 4 years old. (c) Explain why the line should not be used for a laptop that is 12 years old.

Age (years)Battery life (hours)123456246810120
  1. (a) Gradient =4.4−95−1=−4.64=−1.15.

  2. The battery life falls by about 1.15 hours for each extra year of age.

  3. (b) Up from 4 years to the line and across: about 5.6 hours. (Using the gradient: 9−3×1.15=5.55.)

  4. (c) 12 years is far outside the data, which only goes up to 5 years. The trend may not continue: the line would give 9−11×1.15=−3.65 hours, which is impossible.

Answer: (a) −1.15: about 1.15 hours less battery life per year (b) about 5.6 hours (c) 12 years is outside the range of the data

Check yourself

A line of best fit passes through (10,25) and (30,85). Use it to estimate y when x=22.

Answer it in the portal, where your answer is checked as you type →

Key points

  • A scatter diagram plots paired data, one point per pair, marked as a small cross. Do not join the points.

  • Positive correlation: as one increases the other tends to increase. Negative: as one increases the other tends to decrease. Zero: no pattern.

  • Interpret correlation in context, and remember that correlation does not prove that one thing causes the other.

  • A line of best fit is a single ruled line, drawn by eye, across the full data set, with points roughly evenly balanced on both sides along its length. It should pass close to the mean point.

  • Use the line to estimate by reading across or up from a value; answers within a sensible range are accepted.

  • Estimates outside the range of the data (extrapolation) are unreliable. Ignore a point that clearly does not fit when drawing the line.

Where marks are lost

  • Misreading the scale, especially when a small square is worth 2, 5 or 0.2, so points are plotted in the wrong place.

  • Plotting fewer points than there are pairs of data, or joining the points up.

  • Drawing the line of best fit through the first and last points, or only across part of the data.

  • A line with most points on one side of it at one end and on the other side at the other end: the gradient is wrong.

  • Drawing a line of best fit for data with zero correlation.

  • Writing "positive" when asked to interpret the correlation, without saying what it means in the context.

  • Claiming that one variable causes the other just because they are correlated.

  • Trusting an estimate that is outside the range of the data.

Related IGCSE Mathematics 0580 lessons

All IGCSE Mathematics 0580 lessons →

An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.