Hullman’s Theorem
Showing and telling
Law or aphorism
Introductory
Any experimental measure of graphical perception will inevitably not measure what it’s intended to measure.
What it is
Named for visualization researcher Jessica Hullman. Experiments on graphical perception measure something concrete, such as how accurately people read a value off a bar chart or how fast they spot the larger of two quantities. What we care about is less tangible: whether the graph helps people understand the data, make good decisions or notice the unexpected. The measurable proxy never quite matches the intended construct, so experimental rankings of chart types can mislead.
Why it matters
Visualization guidelines (“use position, not angle”; “avoid pie charts”) rest largely on perception experiments with narrow tasks. Those findings are real, but they may not carry over to the tasks people actually use graphs for. A chart that is worse for reading exact values might be better for seeing overall patterns, and the reverse. Treating proxy rankings as quality rankings can push design in the wrong direction.
How it works
Each chart type \(c\) has a value on the measured proxy, \(P_c\) (say, value-reading accuracy), and a value on the intended construct, \(T_c\) (say, decision quality). These are correlated at \(\rho < 1\). An experiment estimates \(P_c\) with noise. The ranking of chart types by the estimated \(P_c\) agrees with the ranking by \(T_c\) only partly, and the gap grows as \(\rho\) falls.
Simulated example
A toy model, our own. Eight chart types have true “decision value” and a correlated “perception accuracy.” An experiment measures the latter. How well does the experimental ranking track what we actually care about?
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, cor, fmt} from "../js/stats.js"
viewof rho = Inputs.range([0, 1], {value: 0.5, step: 0.05, label: "Correlation of proxy with intended construct ρ"})
viewof noise = Inputs.range([0, 1], {value: 0.3, step: 0.05, label: "Experimental noise"})
viewof seed = Inputs.range([1, 500], {value: 94, step: 1, label: "Random seed"})
charts = {
const r = rng(seed);
const names = ["Bar", "Dot", "Line", "Pie", "Heatmap", "Stacked bar", "Area", "Slope"];
const rows = names.map(name => {
const target = r.normal(), proxy = rho * target + Math.sqrt(1 - rho * rho) * r.normal();
return {name, target, measured: proxy + r.normal(0, noise)};
});
const rank = (arr, k) => { const s = arr.slice().sort((a, b) => b[k] - a[k]); return Object.fromEntries(s.map((d, i) => [d.name, i + 1])); };
const rm = rank(rows, "measured"), rt = rank(rows, "target");
return rows.map(d => ({...d, rankMeasured: rm[d.name], rankTarget: rt[d.name]}));
}
Plot.plot({
ariaLabel: "Hullman's Theorem: simulation chart",
ariaDescription: "Vertical axis: Rank (1 = best). The chart updates with the controls above it, and the summary below the charts states the result in words.",
height: 320,
x: {label: null, domain: ["Experiment's ranking", "Ranking on what we care about"], padding: 0.4},
y: {label: "Rank (1 = best)", reverse: true, domain: [0.5, 8.5]},
marks: [
Plot.link(charts, {x1: () => "Experiment's ranking", x2: () => "Ranking on what we care about", y1: "rankMeasured", y2: "rankTarget", stroke: d => Math.abs(d.rankMeasured - d.rankTarget) > 2 ? "#d6604d" : "#2166ac", strokeWidth: 2}),
Plot.text(charts, {x: () => "Experiment's ranking", y: "rankMeasured", text: "name", dx: -8, textAnchor: "end"}),
Plot.text(charts, {x: () => "Ranking on what we care about", y: "rankTarget", text: "name", dx: 8, textAnchor: "start"})
]
})# Hullman's Theorem: experiments measure a proxy, not what we care about.
1rho <- 0.5 # correlation of the proxy with the intended construct
noise <- 0.3 # experimental noise
2set.seed(94)
charts <- c(
"Bar", "Dot", "Line", "Pie", "Heatmap", "Stacked bar", "Area",
"Slope"
)
target <- rnorm(8) # what we care about
3proxy <- rho * target + sqrt(1 - rho^2) * rnorm(8) # what is measured
4measured <- proxy + rnorm(8, 0, noise)
5rank_measured <- rank(-measured)
rank_target <- rank(-target)
cat(
"Rank correlation between the experiment's ranking and the ranking",
"on the intended construct:", round(cor(rank_measured, rank_target), 2),
"\n"
)
plot(c(1, 2), c(1, 8),
type = "n", xlim = c(0.5, 2.5), ylim = c(8.5, 0.5),
xaxt = "n", xlab = "", ylab = "Rank"
)
axis(1, 1:2, c("Experiment", "Intended construct"))
6segments(1, rank_measured, 2, rank_target,
col = ifelse(abs(rank_measured - rank_target) > 2, "#d6604d",
"grey60"
), lwd = 2
)
text(0.95, rank_measured, charts, adj = 1, cex = 0.8)- 1
- The page’s controls: how well the measured proxy correlates with what we care about, and how noisy the experiment is.
- 2
- Fixes the random numbers so the run is reproducible.
- 3
- What the experiment can measure, which is only correlated with what we care about.
- 4
- What the experiment actually records, with its own noise.
- 5
- The experiment’s ranking of the eight chart types.
- 6
- Lines connect each chart type’s experimental rank to its rank on the intended construct. Red lines move by more than two places.
# Hullman's Theorem: experiments measure a proxy, not what we care about.
import numpy as np
import matplotlib.pyplot as plt
rho = 0.5 # correlation of the proxy with the intended construct
noise = 0.3 # experimental noise
rng = np.random.default_rng(94)
charts = ["Bar", "Dot", "Line", "Pie", "Heatmap", "Stacked bar", "Area",
"Slope"]
target = rng.normal(size=8) # what we care about
proxy = rho * target + np.sqrt(1 - rho ** 2) * rng.normal(size=8)
measured = proxy + rng.normal(0, noise, 8)
def ranks(v):
return np.argsort(np.argsort(-v)) + 1
rank_measured, rank_target = ranks(measured), ranks(target)
rho_rank = np.corrcoef(rank_measured, rank_target)[0, 1]
print(f"Rank correlation between the experiment's ranking and the ranking "
f"on the intended construct: {rho_rank:.2f}")
for name, a, b in zip(charts, rank_measured, rank_target):
plt.plot([1, 2], [a, b], linewidth=2,
color="#d6604d" if abs(a - b) > 2 else "0.6")
plt.text(0.95, a, name, ha="right", va="center", fontsize=8)
plt.xticks([1, 2], ["Experiment", "Intended construct"])
plt.xlim(0.4, 2.2)
plt.ylim(8.5, 0.5)
plt.ylabel("Rank")
plt.show()Key takeaways
- Perception experiments measure proxies. The intended construct is always a step removed.
- Rankings of chart types by narrow tasks may not hold for real uses.
- Treat visualization guidelines as evidence about specific tasks, not as universal laws.
Source
- Andrew Gelman, Hullman’s theorem of graphical perception (2021).