/docsfor

Diverging bar

Signed values from a shared zero.

import { DivergingBar } from "diagrammatic";

Zero is the plan. The form sorts itself. Direction is the verdict before any number is read.

Revenue against plan0cloud+48%search+34%mail+26%iot+18%docs+9%gaming+4%maps-12%ads-22%music-29%video-38%

Illustrative data. Q2 2025 revenue versus the January plan.

fig. 42 · Revenue against plan, by product

Cloud is 48% over. Video is 38% under. Six products are above the line and four are below. The misses grow from 12% for maps to 38% for video.

Use it for
Surplus against deficit, growth against decline, by category.
Watch out
Sort by value, not alphabet, so the sign structure stays visible.