BarChart

One measure over time — the admin's spend, day by day or month by month. Thin ink bars up from a hairline, each its share of the tallest; hover a bar for its figure.

Day by day

Past a dozen bars only the first and last are labelled; the rest tell their day on hover. Bars sit 2px apart, rounded at their ends only.

Spend by day
1 Oct$0.042 bookings
2 Oct$0.062 bookings
3 Oct$0.021 bookings
4 Oct$0.000 bookings
5 Oct$0.094 bookings
6 Oct$0.125 bookings
7 Oct$0.073 bookings
8 Oct$0.052 bookings
9 Oct$0.031 bookings
10 Oct$0.010 bookings
11 Oct$0.000 bookings
12 Oct$0.083 bookings
13 Oct$0.114 bookings
14 Oct$0.104 bookings
15 Oct$0.062 bookings
16 Oct$0.042 bookings
17 Oct$0.021 bookings
18 Oct$0.000 bookings
19 Oct$0.073 bookings
20 Oct$0.135 bookings
21 Oct$0.094 bookings
22 Oct$0.052 bookings
23 Oct$0.062 bookings
24 Oct$0.031 bookings
25 Oct$0.000 bookings
26 Oct$0.042 bookings
27 Oct$0.083 bookings

Month by month

Up to a dozen bars, each is labelled under it.

Spend by month
Aug$0.40
Sep$1.90
Oct$3.20

API

PropTypeDefaultDescription
labelstring—What it draws — the caption of the table a screen reader gets.
pointsBarPoint[]—key, label, value, display (the value formatted) and an optional detail for the tooltip.
classNamestring—Layout only.

Rules

  • One series, in ink. Two measures are two charts, never two axes.
  • Name it in the heading over it; one series needs no legend.
  • Bars are a picture: the numbers live in its table, and in the figures beside it.