MetricCard, Meter, ShareBar, BarList or Chart
Ways to show numbers. They differ in whether the number sits in a range or a whole, how many values there are, and whether time matters.
The rule
Ask in order: one headline number? MetricCard. A level in a known range? Meter. Parts of one whole? ShareBar. A few counts ranked? BarList. A trend beside every row? Sparkline. A history of states? Status tracker. Values over time to read closely? Chart.
Side by side
| Component | Shows | Time | Colour | In words |
|---|---|---|---|---|
| Metric card | One headline number with its change | The change against a period; a neutral sparkline at most | Only a change for the worse, or a tone that says why | The value itself |
| Meter | A level within a known range | Now | Neutral; warning past low, danger past critical | The value, always written |
| Share bar | How one whole splits: up to three parts and Other | Now | The chart palette in order, never a status colour | The legend, or the column header in a table |
| Bar list | Counts per category, the top 5 to 10, ranked | None | One series in the accent; no status colours | The value in each row |
| Sparkline | A trend beside every row of a list | A short recent window; rows compared share one scale | Grey; only an abnormal value is coloured, with its word | The value now, beside it |
| Status tracker | A history of states, one cell per day or run | Each cell a day or a run | Grey when fine; colour only for degraded, failed or down | A count (99.2 % up, 18/20) and a tooltip per cell |
| Chart | Values over time, or a few series compared | Axes over a period | Graphite and one accent, never a status colour | A Chart / Table switch (ChartTable) |
In one line each
- Metric card: Robots online, events today, items waiting for review: one row in a MetricGrid under the page header.
- Meter: Battery, storage, signal, a quota; work that will finish is Progress.
- Share bar: A dataset's tiers, images by use; a list of bars shares one ShareLegend.
- Bar list: Items by class, files by format, inside a card or a table cell.
- Sparkline: Each robot's battery over the last 12 hours, drawn with no chart library.
- Status tracker: Uptime per robot by day, a route's last 20 runs, a rollout's stages.
- Chart: Trends people read closely: three series and Other at most, one y axis.