groups says which series belong together: actual, target and
forecast of one metric, this year and last year, or a family of related metrics. A group’s series
share one hue and step through its lightness in the order you list them, instead of taking
unrelated colours. Series you leave out of every group keep their usual colours.
The preview above is the live component gallery. Open it full size to switch between desktop and phone widths.
With
split, name the split values as the chart labels them:
How colours are picked
- The first group takes the blue family, the second pink and red, the third green. Step 1 is close to the family’s usual colour, tuned where needed so that steps 2 and 3 always recede behind it; the steps differ in lightness only.
- Ungrouped series take the usual slots in order, skipping the slots of every family a group holds,
so no ungrouped series shares a hue with a group. A chart without
groupsis drawn exactly as before. - A series keeps its step when other members are missing, such as a split value with no rows in the chosen period, so colours never shift between periods.
- Every step is at least 3:1 against the card in light and dark, steps of one family stay apart from each other, and every step stays apart from the other families, the ungrouped colours and the context grey, under normal vision and three colour-vision simulations (Theme).
What it draws
- A group’s series sit next to each other in the group’s order, where its first member would be: in the key, in a stack and in grouped bars.
- The key names the group before its members (Revenue ● Actual ● Target ● Forecast). Line-end
labels add the group’s name only when two series share a label, such as
2026in two regions (North America · 2026). - The tooltip lists a grouped chart’s rows in series order under each group’s name, instead of sorting them by value, so a group stays together.
- The screen-reader table puts each group’s name over its members’ columns, and the chart’s text
description reads
Revenue (Actual, Target, Forecast). - Grouping changes colours and order only: values, totals and shares are the same as without
groups.