Render: Recharts · Category: Composition and part-to-whole
Nested rectangles whose area represents each category's value.
What it is#
Nested rectangles whose area represents each category's value.
What it's for / when to use it#
Many categories of very different sizes, in little space.
When NOT to use it: Very close values — the areas become indistinguishable.
Typical configuration fields#
- Minimum fields (wells): 1 dimension + 1 metric
- Category axis (Axis well)
- Series legend
- Animated transition
- Color by series
- Chart scale/margin
- Sorting and Top N
- Small multiples (repeat by column)
- Toggle between chart and table
- Number format and decimal places
Usage example#
Revenue by product for Aurora Varejo, each product a proportional rectangle.
Required data#
One (or two) dimensions + one positive measure.
Limits and notes#
- The visual's data transformation and geometry are covered by automated tests on every release.
- Only controls that actually affect this visual are listed here (we avoid 'dead buttons').
Related#
- Visual catalog
- Visuals (overview)
- Editor, pages, layouts, and themes
- Filters and interactions
- Measures, formulas, and KPIs
Last reviewed: 2026-09-08.