8.4 Scatterplots, Trend Lines, Bubble Charts, and Correlation vs. Causation

Key Takeaways

  • Each point (x_i, y_i) on a scatterplot represents a single individual or school measured on two numerical variables simultaneously.

  • On a Pre-Test (x-axis) vs. Post-Test (y-axis) scatterplot with the reference line y = x, points above the line have y > x (improved), points on the line have y = x (no change), and points below the line have y < x (decreased).

  • A line of best fit (trend line) y_hat = mx + c supports reliable interpolation within the observed x-data range, whereas extrapolation far outside the observed data range is unreliable.

  • Bubble charts display up to four variables simultaneously: horizontal position (x), vertical position (y), bubble size/area (third numerical variable), and bubble colour/shading (fourth variable).

  • Correlation does not imply causation: an observed association between two variables may be driven by a third confounding (lurking) variable rather than a direct causal link.

Last updated: October 2026

Educational researchers and school improvement teams frequently examine how two numerical variables vary together—such as Attendance Rate vs. Assessment Score, Pre-Test vs. Post-Test performance, or Socio-Educational Advantage (ICSEA) vs. Numeracy Growth. A scatterplot displays such bivariate (two-variable) numerical data on a Cartesian coordinate plane.

Reading Scatterplots and Threshold Quadrants

In a scatterplot, each plotted point (xi,yi)(x_i, y_i) represents one individual observation (one student, one classroom, or one school) with two measurements:

  • Horizontal (xx) axis: Typically represents the explanatory (independent) variable or the earlier measurement (e.g., Term 1 Pre-Test Score or Attendance Percentage).
  • Vertical (yy) axis: Typically represents the response (dependent) variable or the later measurement (e.g., Term 4 Post-Test Score or Exam Mark).

Counting Points with Threshold Lines

LANTITE questions regularly ask how many students satisfy two criteria at once—for example, "How many students had an attendance rate below 85%85\% AND an assessment score above 70%70\%?"

  1. Draw (or mentally trace) the vertical threshold line at x=85%x = 85\%. Points strictly to the left have attendance <85%< 85\%; points to the right have attendance >85%> 85\%.
  2. Draw the horizontal threshold line at y=70%y = 70\%. Points strictly above the line have a score >70%> 70\%; points below have a score <70%< 70\%.
  3. For an AND condition (intersection), count only the points in the single quadrant that satisfies both requirements simultaneously (here, the top-left quadrant where x<85%x < 85\% and y>70%y > 70\%). Check carefully whether points lying directly on a boundary line are included ("at least 70%70\%" includes y=70%y = 70\%; "strictly above 70%70\%" excludes y=70%y = 70\%). For an OR condition (union), count every point that satisfies at least one of the two criteria without double-counting the overlap.

The Identity Line y=xy = x in Pre-Test vs. Post-Test Plots

When the horizontal axis shows a Pre-Test Score (xx) and the vertical axis shows a Post-Test Score (yy) on the same scale, drawing the diagonal reference line y=xy = x separates the cohort into three distinct groups:

  • Points ABOVE the line y=xy = x: Here y>xy > x (Post-Test>Pre-Test\text{Post-Test} > \text{Pre-Test}), meaning the student improved between the two assessments. The vertical distance yi−xiy_i - x_i above the line equals the exact mark gain.
  • Points ON the line y=xy = x: Here y=xy = x (Post-Test=Pre-Test\text{Post-Test} = \text{Pre-Test}), meaning the student's score did not change.
  • Points BELOW the line y=xy = x: Here y<xy < x (Post-Test<Pre-Test\text{Post-Test} < \text{Pre-Test}), meaning the student's score decreased.

Worked Example 1: Comparing Growth Against the Line y=xy = x

Suppose 2020 Year 5 students sit a 4040-mark numeracy diagnostic in Term 1 (xx-axis) and an equivalent 4040-mark test in Term 4 (yy-axis). A student plotted at (22,31)(22, 31) lies 31−22=931 - 22 = 9 units vertically above the line y=xy = x, representing a 99-mark improvement (or a 922×100%≈40.9%\frac{9}{22} \times 100\% \approx 40.9\% relative gain over their starting score). Conversely, a student plotted at (29,25)(29, 25) lies 44 units below the line y=xy = x, indicating a 44-mark drop. To find the student with the greatest absolute improvement, look for the point with the largest vertical distance above the diagonal line y=xy = x—not necessarily the highest point on the chart!


Direction, Form, Strength, Outliers, and Trend Lines

When describing the overall pattern of a scatterplot, statisticians examine four features:

FeatureCategories & Visual MeaningEducational Example
DirectionPositive (rises left-to-right: as xx increases, yy increases), Negative (falls left-to-right: as xx increases, yy decreases), or No association (random cloud)Unexplained absences (xx) vs. exam score (yy) shows a negative association.
FormLinear (points cluster along a straight line) vs. Non-linear / curved (points follow a curve or plateau)Early vocabulary growth vs. age is linear over short spans, then curves as ceiling effects appear.
StrengthStrong (points tightly hug the trend line), Moderate (clear trend with noticeable scatter), or Weak (wide scatter)Pre-test vs. post-test scores typically show a moderate-to-strong positive association.
Bivariate OutlierAn isolated point lying far from the main cloud's trend (an unusual pair (xi,yi)(x_i, y_i))A student with 98%98\% attendance (xx) but a 28%28\% test score (yy) lies far below the positive trend line.

Using a Line of Best Fit (Trend Line): Interpolation vs. Extrapolation

A line of best fit (or linear regression trend line) summarises a linear relationship with the equation:

y^=mx+c\hat{y} = mx + c
  • Slope (mm): The predicted change in yy for each 11-unit increase in xx.
  • Vertical intercept (cc): The predicted value of yy when x=0x = 0.
  • Vertical residual (y−y^y - \hat{y}): A student whose plotted point lies above the trend line achieved an actual score yy higher than the score y^\hat{y} predicted for their xx-value; a point below the trend line scored lower than predicted.
  • Interpolation (Reliable): Substituting an xx-value within the observed range of xx-data (for example, predicting the score for x=7x = 7 hours of study when the dataset spans 2≤x≤122 \le x \le 12 hours).
  • Extrapolation (Unreliable): Extending the line to predict yy for an xx-value outside the observed range (for example, plugging x=25x = 25 hours into y^=4.5x+38\hat{y} = 4.5x + 38 to predict y^=150.5\hat{y} = 150.5 out of 100100). Linear trends rarely hold indefinitely outside the observed domain.

Multi-Variable Bubble Charts and Correlation vs. Causation

Reading 3-Variable and 4-Variable Bubble Charts

A bubble chart enhances a standard 2D scatterplot by encoding one or two additional variables into the plotted circles:

  1. xx-axis position: Variable 1 (e.g., School ICSEA index).
  2. yy-axis position: Variable 2 (e.g., Mean Year 9 Numeracy score).
  3. Bubble size (area or diameter): Variable 3, a quantitative magnitude (e.g., Total school enrolment NN). Larger bubbles represent larger schools.
  4. Bubble colour or shading: Variable 4, typically a categorical classification (e.g., Metropolitan vs. Regional/Remote sector).

Correlation Does Not Imply Causation

Even when a scatterplot displays a strong positive or negative correlation between XX and YY, observational data alone never proves that XX causes YY. A third confounding (lurking) variable ZZ often drives both variables simultaneously:

  • Across Years 1 to 6 in a primary school, there is a strong positive correlation between student shoe size (XX) and reading comprehension score (YY).
  • Buying larger shoes does not cause a child to read better! Instead, chronological age / year level (ZZ) is a confounding variable that independently increases both physical foot size and reading proficiency.
  • Similarly, a positive correlation between number of books in the home and NAPLAN reading achievement reflects broader socioeconomic and family literacy factors rather than a guarantee that simply shipping boxes of books to a house will automatically raise test scores by a fixed slope.
Test Your Knowledge

A scatterplot displays the Pre-Test Score (horizontal x-axis, out of 50) and Post-Test Score (vertical y-axis, out of 50) for 25 students in a numeracy intervention group, along with the diagonal reference line y = x. On the graph, 18 points lie strictly above the line y = x, 2 points lie directly on the line y = x, and 5 points lie strictly below the line y = x. What percentage of the 25 students improved their score from the pre-test to the post-test?

A

18%

B

80%

C

20%

D

72%

Test Your Knowledge

Using data from 40 Year 11 students who studied between 2 and 12 hours per week, a teacher fits the linear trend line y_hat = 4.5x + 38 relating weekly study time x (in hours) to practice exam score y_hat (out of 100). A student in the cohort studied for 8 hours per week and achieved an actual exam score of 81. Which statement is correct?

A

The trend line predicts a score of 74 via extrapolation, so the student scored 7 marks below prediction.

B

The trend line predicts a score of 81, meaning the student's plotted point lies directly on the line of best fit.

C

The trend line predicts a score of 74 via interpolation, and the student scored 7 marks higher than predicted.

D

The trend line can reliably predict that a student who studies 20 hours per week will score 128 out of 100.

Test Your Knowledge

A regional education analyst creates a bubble chart of 30 schools in which the horizontal x-axis shows attendance rate (%), the vertical y-axis shows the percentage of students meeting the numeracy standard (%), bubble size represents total student enrolment, and bubble shading indicates school sector (Primary vs. Secondary). To locate the school with the largest student enrolment among those with an attendance rate above 90%, what visual feature should the analyst look for?

A

The bubble positioned furthest to the right of the chart, regardless of its diameter.

B

The bubble with the largest diameter located to the right of the 90% mark on the horizontal axis.

C

The bubble positioned highest toward the top of the chart, regardless of its horizontal position or diameter.

D

The darkest-shaded bubble located to the left of the 90% mark on the horizontal axis.

Sections you finish are checked off in the contents.