Skip to content
← All posts

Why colour is never the only signal in our charts

Okabe–Ito hues, dash patterns, markers and direct labels — so a chart reads to a colour-blind reader too.

A chart has to read without colour

Roughly one man in twelve is red-green colour-blind, and a chart that tells series apart by hue alone is a chart that tells them nothing. Ours use the Okabe–Ito palette, a dash pattern and a marker per series, and label each line directly.

A dichromacy simulation runs in the test suite and fails the build if any two series stop being distinguishable.