📘 CodingMarble Learn

Scatter Plots and Association

A scatter plot shows pairs of numbers as dots on a grid, one dot for each person or thing. The pattern of dots tells us the association: positive (both go up together), negative (one goes up, the other goes down) or none. We also look for clusters (clumps of dots), outliers (dots far from the rest) and whether the pattern is a straight line (linear) or a curve (non-linear).

🎬 Step-by-step story

  1. Each dot is one student. Its x-value is hours studied and its y-value is the test score. Watch the dots appear one by one.
  2. Look at the whole cloud. As x gets bigger, y also gets bigger. The dots climb up to the right. This is a positive association.
  3. New data: screen time (x) and hours of sleep (y). Now the dots go down to the right. More screen time, less sleep. This is a negative association.
  4. New data: shoe size (x) and test score (y). The dots have no slope at all. This is no association.
  5. Here the dots form two clumps. These are clusters. One red dot sits far away from all the others. That is an outlier.
  6. Your turn: pick a data set and move the spread slider. Tight dots = strong association. Spread-out dots = weak association.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why don't we join the dots?

Each dot is a separate person. There is no "in-between" person, so a line between dots would mean nothing.

If the dots are not on a perfect line, is there still an association?

Yes. Association is about the general trend. Dots can be scattered and still rise overall.

Is negative association bad?

No. Negative just means one goes up while the other goes down. Less smoking and better health is a good negative link.

How do I know it is "no association" and not just weak?

If you cannot see any up or down tilt at all, it is none. A faint tilt is weak.

Should I always delete an outlier?

No. Check it first. It might be a mistake or a real special case.

What makes an association strong?

Dots lying close to a line. Move the spread slider to see strong turn into weak.

What is a scatter plot?

Sometimes we measure two things about the same person or object, like height and weight. These are paired data (bivariate data). A scatter plot puts one quantity on the x-axis and the other on the y-axis and draws one dot for each pair.

How to make one:

  1. Choose which variable goes on x (often the one that might cause the change) and which on y.
  2. Pick a scale for each axis that fits all the values. Label the axes with names and units.
  3. Plot each pair (x, y) as a dot. Do not join the dots.

Positive, negative and no association

Positive association: as x increases, y tends to increase. The dots rise from left to right. Example: height and arm span.

Negative association: as x increases, y tends to decrease. The dots fall from left to right. Example: age of a car and its resale price.

No association: no clear up or down pattern. Example: shoe size and maths score.

Strength: if the dots lie close to a line, the association is strong; if they are widely spread, it is weak.

Linear or non-linear: if the dots follow a straight line, it is linear. If they follow a curve (for example, rising then falling), it is non-linear.

Clusters and outliers

A cluster is a group of dots that sit close together, with gaps around them. Clusters can show two different kinds of data in one plot, for example adults and children.

An outlier is a dot far away from the general pattern. It may be a mistake in the data, or something special really happened. Always check outliers before drawing a conclusion.

Association is not causation

Two things moving together does not prove one causes the other. Ice-cream sales and swimming accidents both rise in summer, but ice cream does not cause accidents: hot weather drives both. Say "is associated with", not "causes", unless an experiment shows it.

Try it

Measure the height and hand span of 8 family members or friends. Make a table, then draw a scatter plot on graph paper. Is the association positive? Is there an outlier? In the 3D, pick each data set and slide the spread from 0 to 3 to see strong turn into weak.

Key formulas and definitions

Worked examples

1. A table gives (hours of practice, goals scored): (1, 2), (2, 3), (3, 5), (4, 6), (5, 8). Describe the association.

Plot the five dots. As practice hours go up, goals go up, and the dots lie close to a straight line. So it is a strong positive linear association.

2. Car age (years) and price (in thousands): (1, 700), (3, 560), (5, 410), (7, 300), (9, 190). Describe it.

As age increases, price decreases. The dots fall to the right fairly evenly, so it is a negative linear association.

3. Data on study hours vs score: (2, 50), (3, 58), (4, 63), (5, 71), (6, 15), (7, 84). Which point is an outlier and what might explain it?

All points rise steadily except (6, 15), which is far below the pattern. It is an outlier. Perhaps the student was ill, or the score was entered wrongly.

Common mistakes

Practice quiz

1. Dots rising from left to right show
2. A dot far away from the rest is called
3. Hours of TV and hours of homework done usually show
4. A clump of dots close together is a
5. Which pair probably has no association?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is a scatter plot used for?

To see if two measured quantities are related, how strongly, and to spot clusters and outliers.

What are the types of association in a scatter plot?

Positive, negative or none; and linear or non-linear; and strong or weak.

What comes after scatter plots?

Drawing a line of best fit and using it to make predictions, then measuring correlation with a number r.

Where this is taught

USA (Common Core, NGSS, AP)Grade 8Statistics and Probability (8.SP)

Learn first

Learn next

Related lessons

All Maths lessons