Charts / Part-to-whole
Part-to-whole charts for React
How a total splits into its pieces.
- Org sunburst: Departments and their teams as two rings sized by headcount, with a linked legend.
- Donut: Segments of a ring with gaps and a centre label; here MRR by plan.
- Waffle: A hundred squares coloured by share; here where every container is right now.
- StackBar: A single bar split into parts; here promoters, passives and detractors.
- Usage matrix: Tokens for each product split across model families, with row and column totals.
- SegmentMeter: A total split into tall labelled segments, the remainder hatched; here team capacity.
- 100% stacked bar: Every category stretched to the same length so the mix can be compared, with shares inside the segments and totals at the end.
- Pie chart: A simple part-to-whole split with every slice labelled on a leader line, small items grouped into Other, and an optional donut total.
- Marimekko: Share within each column stacked to 100%, with column width set by the column’s size, so every cell’s area is its slice of the whole market.
- Pareto chart: Causes sorted largest first with the cumulative share on a second axis, shading the vital few that account for 80% of the problem.