Change over time
Time is on x and sorted, a line connects the months, and the baseline is not forced to zero.
Check passesThe guide asks for line; it drew line. 12 rows.
Playbook
59 of 59 examples pass their own checks; the checks catch every one of the 152 faults we inject on purpose, which tests the checks, not the examples.
pnpm playbook reflectpnpm playbook skillOne question, one mark: what the data's shape says to draw, tested against the chart guide. Every card is live: change it, and its check runs again.
Change over time: a line
Time on x, sorted; connect the points; do not force a zero baseline; at most eight lines.
A line says these points are one sequence; the slope is the message.
Compare categories: bars from zero
Bars start at zero and are sorted by value unless the categories have a natural order.
Length is how people compare magnitudes, so a truncated bar lies about the ratio.
Ranking: the top, horizontal
Show the top 10 to 15 as horizontal bars and say how many were left out.
Long labels read left to right, and a ranking nobody can read to the end is not a ranking.
Part of a whole: five parts at most
Use an arc only for five or fewer additive parts; otherwise sorted or stacked bars.
People judge angles badly; with many slices they cannot tell which is larger.
Distribution: a histogram
Bin by a principled rule and say how many rows were missing.
Averages hide spread; the shape is what you came to see.
Relationship: a scatter, not a line
Two measures on two axes, points unconnected, color by a category of eight or fewer.
Connecting points implies an order that rows do not have.
How much: a number with context
A headline figure with its change against the previous period, not a chart.
A single value needs a comparison to mean anything.
Look-up: a table
Right-align and format numbers; paginate past 50 rows.
When the reader will look for one value, precision beats picture.
Time is on x and sorted, a line connects the months, and the baseline is not forced to zero.
Check passesThe guide asks for line; it drew line. 12 rows.
Bars from a zero baseline, sorted by value, so the order is the finding.
Check passesThe guide asks for bar, sorted by value; it drew bar, sorted by value. 6 rows.
Fourteen courses, so it shows the top ten as horizontal bars and says the rest were folded away.
Check passesThe guide asks for horizontal bar, sorted by value; it drew horizontal bar, sorted by value. 14 rows.
Four parts of one total: few enough that angles still compare. Past five it switches to bars.
Check passesThe guide asks for pie; it drew pie. 4 rows.
Nine regions: the recommender refuses a pie and draws sorted bars, because nine slices cannot be compared.
Check passesThe guide asks for horizontal bar, sorted by value; it drew horizontal bar, sorted by value. 9 rows.
Eighty scores binned by the Freedman-Diaconis rule, so spread, skew and outliers show.
Check passesThe guide asks for histogram; it drew histogram. 80 rows.
Both axes are measures and the points are not connected, because rows are not a sequence.
Check passesThe guide asks for scatter; it drew scatter. 40 rows.
When the question is how much, not how it moves, show the number with its change against the previous period.
Check passesThe guide asks for headline numbers; it drew headline numbers. 12 rows.
When people need to look values up, a table with right-aligned numbers beats any chart.
Check passesThe guide asks for a table; it drew a table. 6 rows.