Treemap
A treemap for sizes within a whole, as nested rectangles.
When to use
- Use when
- Sizes within a whole, as nested rectangles, such as storage by folder.
- Avoid when
- Precise comparison; areas are harder to compare than bars.
Installation
The source lands in src/components/ui/chart-treemap.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.
Usage
Built on
- Packages
@stylexjs/stylex,recharts- Shelf items
- Chart,
foundations - Figma
- In progress. See Designers and Figma.