Components/Stacked bar chart
Stacked bar chart
Columns split into up to four parts, with a legend and a tooltip that adds them up.
Overview
Columns split into up to four parts, separated by a thin gap rather than a border. The tooltip lists every part and the total for that column.
What it does
- Stack up to four series with a legend
- Switch between the last 3, 6 or 12 months
- Read a column's parts and total on hover or with the arrow keys
- Grow in on load, or appear at once when reduced motion is on
Try it
Everything works in the live preview above.