Lesson 4 of 20
Point, line, bar — the promise each mark makes
drawing a line says “the space between exists”
The body of a chart is only ever three things — points, lines and bars. A UMAP is points. A volcano plot is points. A survival curve is a line. A heatmap is a very wide bar.
But these are not merely shapes. They are promises made to the reader.
The three marks can also be combined — most figures in the paper do.
| Combination | What it becomes | In the paper |
|---|---|---|
| points + line | growth curve · enrichment curve | Figs. 4C · 6B |
| bars + points | a mean bar with the individuals scattered on it | Fig. 4B |
| points + box | distribution and individuals together | Fig. 4E |
| points alone | volcano · UMAP · dot plot | Figs. 3B · 5B · 5C |
There is one rule: an added mark must add information. Scattering points over a bar adds the sample size and the spread, so it is good. Adding a drop shadow to a bar adds nothing, so it is bad.
The left panel is honest but hard to read; the middle one is readable but asserts unmeasured points; the bars on the right threw the whole process away.
Python
Runs in your browser
Which of the three is right? It depends on the question.
| The question | The mark |
|---|---|
| When did the arms diverge? | points + line |
| How big is the final difference? | bars (or a box with points on it) |
| How much do individuals vary? | one thin line per animal (spaghetti) |
The paper puts bars in Fig. 4B and lines in Fig. 4C, side by side. Two questions, two answers.
🤔 Check yourself
Mean TIL for thirteen tumour types is plotted as dots joined by a line. What is wrong?
Answer A line promises continuity, and categories have none. The proof is that reordering the categories changes the shape of the line completely.
🤔 Check yourself
Two groups have means of 40 and 44. What happens if the bar y-axis starts at 38?
Answer Lengths 2 and 6 — a threefold appearance for a 10% difference. Lesson 18 meets this trick again.