Playground · 04

Dot Chart

Data drawn in dither, with colour bands that blend.

How it works

Dense at the line, thinning toward the baseline. No outline: the edge of the dots is the line.

Colour bands roll upward through the dots, and each band dithers into the next instead of stopping hard. Sample data.

// each dot's band is dithered against the next, so bands blend instead of stopping hard
const f = (value / max) * bands * 1.6 - phase;
let band = Math.floor(f);
if (f - band > B8[(y + 3) & 7][(x + 5) & 7]) band++;