The worst visual display of all time
Showing and telling
Law or aphorism
Introductory
the black and white Stroop test.
What it is
The Stroop test shows color words (“RED,” “BLUE”) printed in ink of a different color and asks people to name the ink. The mismatch slows them down. That interference is the whole point of the test. Print it in black and white and every word is in black ink. There is no conflict, no interference and no test. A display that removes the one feature it depends on is, in Gelman’s joke, the worst visual display of all time.
Why it matters
The joke points at a common failure in graphics: a display whose key information is carried by a feature that doesn’t survive production, viewing or the reader. Examples are color-coded lines printed in grayscale, legends that depend on color distinctions color-blind readers can’t see, and charts whose message is in an interaction the layout hides. Ask what channel is carrying the information, and whether that channel survives.
How it works
Model reaction time (RT) to name the ink color:
- Congruent (word and ink match): baseline RT.
- Incongruent (word and ink differ): baseline plus an interference cost, typically on the order of 100 milliseconds or more.
- Black and white: the ink is always black, so there is no conflict to measure, and the measured “effect” collapses to zero.
The simulation uses a made-up but realistic set of RT distributions to show the effect disappearing.
Simulated example
A miniature Stroop display, and simulated reaction times for the color and grayscale versions.
Show simulation code
The R version uses base R, and the Python version uses NumPy and Matplotlib. Where the simulation draws random numbers, each language draws its own, so exact numbers differ slightly but show the same pattern. The numbered markers in the R code are explained under it.
import {rng, range, mean, fmt} from "../js/stats.js"
viewof bw = Inputs.toggle({label: "Print in black and white", value: false})
viewof seed = Inputs.range([1, 500], {value: 109, step: 1, label: "Random seed"})
{
const words = [["RED", "#2166ac"], ["GREEN", "#d6604d"], ["BLUE", "#1a9850"], ["YELLOW", "#984ea3"], ["PURPLE", "#b8860b"], ["BLUE", "#d6604d"]];
return html`<div style="font-size: 1.8rem; font-weight: 700; letter-spacing: 0.05em; display:flex; gap:1rem; flex-wrap:wrap; margin: 0.5rem 0 1rem;">
${words.map(([w, c]) => html`<span style="color:${bw ? "currentColor" : c}">${w}</span>`)}
</div>`;
}
stroop = {
const r = rng(seed);
const trial = cond => {
const base = r.lognormal(Math.log(600), 0.15);
const interference = !bw && cond === "Incongruent" ? r.normal(120, 40) : 0;
return {cond, rt: base + interference};
};
return [...range(400).map(() => trial("Congruent")), ...range(400).map(() => trial("Incongruent"))];
}
Plot.plot({
ariaLabel: "The worst visual display of all time: simulation chart",
ariaDescription: "Horizontal axis: Reaction time (ms). Vertical axis: Trials. The chart updates with the controls above it, and the summary below the charts states the result in words.",
height: 260,
x: {label: "Reaction time (ms)", domain: [300, 1200]},
y: {label: "Trials"},
color: {legend: true, range: ["#2166ac", "#d6604d"]},
marks: [Plot.rectY(stroop, Plot.binX({y: "count"}, {x: "rt", fill: "cond", fillOpacity: 0.55, thresholds: 50, mixBlendMode: "multiply"})), Plot.ruleY([0])]
})# The worst visual display of all time: the Stroop test in black and white.
1bw <- FALSE # print in black and white?
2set.seed(109)
# Reaction times (ms). Ink that conflicts with the word slows reading,
# but only if the reader can see the colors.
trial <- function(incongruent) {
base <- rlnorm(400, log(600), 0.15)
3 base + if (incongruent && !bw) rnorm(400, 120, 40) else 0
}
congruent <- trial(FALSE)
incongruent <- trial(TRUE)
cat("Interference effect (incongruent minus congruent): ",
round(mean(incongruent) - mean(congruent)), " ms\n",
sep = ""
)
4boxplot(list(Congruent = congruent, Incongruent = incongruent),
col = c("grey70", if (bw) "grey70" else "#d6604d"),
ylab = "Reaction time (ms)"
)- 1
- The page’s control: whether the test is printed in black and white.
- 2
- Fixes the random numbers so the run is reproducible.
- 3
- The Stroop interference: conflicting ink slows the reader, but only if the reader can see the colors.
- 4
- Reaction times for congruent and incongruent words. In black and white the effect vanishes, and the display can’t do its one job.
# The worst visual display of all time: the Stroop test in black and white.
import numpy as np
import matplotlib.pyplot as plt
bw = False # print in black and white?
rng = np.random.default_rng(109)
# Reaction times (ms). Ink that conflicts with the word slows reading,
# but only if the reader can see the colors.
def trial(incongruent):
base = rng.lognormal(np.log(600), 0.15, 400)
return base + (rng.normal(120, 40, 400) if incongruent and not bw else 0)
congruent, incongruent = trial(False), trial(True)
print(f"Interference effect (incongruent minus congruent): "
f"{incongruent.mean() - congruent.mean():.0f} ms")
plt.boxplot([congruent, incongruent])
plt.xticks([1, 2], ["Congruent", "Incongruent"])
plt.ylabel("Reaction time (ms)")
plt.show()Key takeaways
- Know which visual channel carries your display’s information.
- Make sure that channel survives printing, projection and color-blind readers.
- If the message depends on color, back it up with labels, position or line style.
Source
- Andrew Gelman, 50 shades of gray goes pie-chart (2014).