1.4 Visualisation¶
Step three plots each question before it is tested. The agent proposes a chart before drawing it — what it would plot, on which axes, over which rows, and what a reader would be able to see in it — and waits for your agreement. The figures here are from the deforestation example, but the approach is broadly the same whatever you plot.
The data goes in first and any fitted line on top. A figure showing only a fit hides how well that fit describes anything.

In the example above, each point is one country, and no curve is fitted to either panel. Instead we use the line to show the approach we take to predicting deforestation: did the conversion go above a threshold.
A colour belongs to a variable rather than to a position. Permanent conversion is blue wherever it appears and all-cause loss is orange.
Both figures below plot loss year by year — eight countries picked by a stated rule, and four picked by name.


One bar is one year's loss as a share of that country's own tree cover in 2000, which is what makes the panels comparable. No trend is fitted to either, and none should be: the year a loss is assigned to is derived rather than observed, so the level of a series and its direction across the period mean something while the step from one year to the next does not. How each set of countries was chosen is written on the figure, because a reader who does not know that cannot judge the panels.
Every number that then goes into the text comes from the computed output, never read off the plot. Taking a value off your own figure is a dependable way to get a wrong number into prose, and it is invisible to anyone who trusts the picture.
Also see¶
- 1.6 Statistical analysis — the tests these plots led to.
- 1.3 Deciding on a hypothesis