Axis Honesty Lab¶
Run the Axis Honesty Lab MicroSim Fullscreen
Edit in the p5.js Editor
About This MicroSim¶
Students are taught "never truncate the y-axis." That rule is wrong often enough to be worth unlearning, and it produces charts that hide real signal. The actual skill is judging whether the scale matches the claim.
Two charts plot the same shared array, so they provably cannot differ in data — only in presentation. Drag the handles beside either y-axis and watch a week of temperature that varies by 0.75 °C turn from "essentially flat" into "dramatic variation". A live reader's impression sits under each chart, and a readout reports what fraction of the plot height the data actually occupies: 3 per cent on one, 81 per cent on the other.
The claim selector supplies the criterion, and that is the mechanism that replaces a rule with a judgment:
| Claim | Wide axis | Tight axis |
|---|---|---|
| This place has a stable climate | defensible | wrong scale |
| A storm passed mid-month | wrong scale | right scale, needs disclosure |
| Temperatures are rising | wrong scale | right scale, needs disclosure |
| The sensor failed on Tuesday | defensible | wrong scale |
The pressure dataset is the one to sit with. It contains a genuine 25 hPa storm, and burying it in a 100 hPa axis hides the evidence for the claim being made. Truncation is not automatically dishonest — it is dishonest when it is undisclosed. Turn on "disclose truncation" for the five-year trend dataset and the verdict flips from "Right scale, missing disclosure" to "Defensible for this claim". That is the whole argument in one toggle.
The gap dataset overrides everything. Turn on "join across gaps" and the verdict becomes "Misleading, whatever the axis does", because the line asserts six hours of data that do not exist and no axis choice excuses that.
Make it lie asks you to build a misleading chart from honest data. It takes about two drags. Students who have constructed one recognise one far faster than students who have only been warned.
How to Use¶
- Drag the small grey handles beside either y-axis. Both charts hold the same data.
- Read the reader's impression under each chart, not just the numbers.
- Change the claim without touching the axes and watch the verdicts flip.
- On the pressure dataset, press Fit chart 2 to the data, then toggle disclose truncation.
- On the gap dataset, toggle Join across gaps and read what the verdict says.
Iframe Embed Code¶
You can add this MicroSim to any web page by adding this to your HTML:
<iframe src="https://iowerx.github.io/pi-env-monitor/sims/axis-honesty-lab/main.html"
height="662px"
width="100%"
scrolling="no"></iframe>
Lesson Plan¶
Grade Level¶
6-12
Duration¶
20-25 minutes
Bloom's Taxonomy Level¶
Evaluate (L5)
Prerequisites¶
- Chapter 15 sections on line charts and honest axis labelling
Activities¶
- Same data, two stories (6 min): With the temperature week loaded, write down the reader's impression for each chart and the true variation. Explain how both charts can be accurate.
- When truncation is right (8 min): Load the pressure month and set chart 1 to 960-1060 and chart 2 tight. Which one supports the claim that a storm passed, and why is the tight axis the honest one here?
- Make it lie, then fix it (8 min): Use lie mode to build a misleading chart. Then list the two disclosures that would have protected the reader without changing a single plotted point.
Assessment¶
- Judges an axis choice against a stated claim rather than against a memorised rule.
- Explains why joining a line across a gap is misleading regardless of scale.
- Names the disclosures that make a truncated axis defensible.
References¶
- Wikipedia: Misleading graph - truncated axes and the rest of the catalogue.
- Wikipedia: Edward Tufte - the case for and against always including zero.
- Wikipedia: Missing data - why a gap is information rather than an inconvenience.
- NASA: global temperature record - the real version of the contested five-year trend case.