How this site is made

The figure library

Every picture here is generated from code at build time. This page lists the generators, each rendered at its defaults.

No figure on this site is a drawing that was made once and saved. Each one is a function: it takes parameters and returns SVG, so the same generator produces the p4 plate and the p6m plate without either being redrawn.

That is the reason the collection can keep growing without the illustrations drifting apart. A generator is written once, checked once, and every essay that calls it inherits the same line weights, the same colour roles, and the same behaviour in dark mode. There are 22 of them so far.

base-rate

bootstrap-fails

coverage-curve

coverage-oscillates

forking-paths

middle-and-tail

p-under-the-null

power-curve

regression-to-mean

same-p-different-meaning

simpson-region

simpson-table

sums-converge

t-against-normal

t-or-z

tail-ratio

the-density

thousand-people

twenty-intervals

what-normal-looks-like

what-width-costs

winners-curse