/docsfor

Range bar

A span per category, not a single value.

import { RangeBar } from "diagrammatic";

Compensation review. Each row is the p25 to p75 cash band of a closed role, the tick is the median we actually paid. The question is where the ladder overlaps.

Closed offer bands50k125k200k150kintern$38k–$52kjunior$62k–$84kmid$86k–$118ksenior$128k–$168kstaff$158k–$204kprincipal$188k–$236kem$142k–$188kdirector$196k–$248k

Illustrative data. Cash offer bands, Oct 2024 to Mar 2025.

fig. 17.1 · Closed offer bands, last two quarters

Staff's 158k floor sits inside senior's band, which ends at 168k. The EM band begins below staff's floor. Director begins at 196k, below principal's 208k median.

Seven trial estimates and one pooled estimate. Each row shows a hazard ratio with a 95% interval. The tick is the point estimate. The guide marks no effect.

Hazard ratio vs control0.511.5nullA0.48–0.92B0.55–1.05C0.41–0.84D0.88–1.46E0.52–0.98F0.61–1.12G0.44–0.89pooled0.58–0.89

Illustrative data. Hazard ratios with 95% intervals.

fig. 17.2 · Hazard ratio, seven trials and a pooled estimate

Seven of eight point estimates are below 1, while five intervals stay wholly below it. The pooled estimate is 0.72 with an interval from 0.58 to 0.89. Trial D is the only point estimate above 1.

Use it for
Intervals: salary bands, confidence ranges, forecast low to high.
Watch out
The bar is the interval; a tick marks a point estimate. Do not turn it into a Gantt.