/docsfor

Histogram

Frequency by bin.

import { Histogram } from "diagrammatic";

Eighteen 50ms bins, one day of traffic. The dashed outline is the same weekday a week earlier. The shape is the regression; the median is the alibi.

Checkout POST latency200msSLO 800msmedian 348ms0200400600800

Illustrative data. Checkout POST, 13 Aug 2025, 1,613 sampled requests. Compare = 6 Aug.

fig. 28 · Checkout POST, one Wednesday

The mass still sits near 350ms, but the right tail past 700ms has thickened since last Wednesday. The last four bins contain 33 requests against 21 a week earlier. The median at 348ms would have called the day fine.

Use it for
The shape of one variable: skew, spread, and outliers.
Watch out
Bin width changes the story; try several before trusting one.