Proportion bar

How a whole splits into parts, in one bar: samples by where they are, a fleet’s hours by what it was doing.

Delivery

A project’s samples by where they are, then each method under it in the same parts. On the project overview.

Delivery 68 % published
CTD
110/140Water samples
18/52Visual range
36/48
<ProportionBar
	aria-label="Delivery"
	parts={[
		{ label: 'Published', value: 164, tone: 'success' },
		{ label: 'At the lab', value: 22, tone: 'info' },
		{ label: 'Skipped', value: 5, tone: 'warning' },
		{ label: 'To come', value: 45, tone: 'faint' },
	]}
/>

A vessel’s week

Hours by state, in the status lanes’ colours: charging has its own, beside transit’s blue.

Otter Pro, the last 7 days 164 h

Rules

  • For parts of one whole. Parts that don’t add up to something (three stations’ temperatures) are a bar chart.
  • Instead of a donut. Lengths side by side compare at a glance, angles don’t, and bars stack into rows that compare too.
  • Order the parts as the work goes, done first. What’s still to come goes last, faint.
  • Five parts or so. More is a table.
  • The headline goes above the bar, in words: "67 % published". The bar shows the rest.
  • One keyed bar on top; the rows under it use the same parts in the same order, without keys.