Every point, nudged apart.
import { Beeswarm } from "diagrammatic";Seventy-eight pull requests, one dot each. A histogram would have rounded the 62-hour review into a bin. The flag marks that value.
Illustrative data. First non-author review, March 2025. n = 78.
The swarm thickens between two and six hours. Then the tail: 22 reviews take more than eight hours, eight take more than 24 hours, and two take more than 48 hours. One reaches 62 hours. The 12-hour tick marks the start of the long tail; two dots sit past the last labelled tick.
- Use it for
- Small datasets where each observation deserves its own dot.
- Watch out
- Past a few hundred points the swarm congeals; switch to a density.