Hierarchical area chart where rectangle size encodes value — portfolio composition, category breakdowns.
TreemapChart shows hierarchical data where each rectangle's area represents its value. Nested rectangles show sub-categories within categories. Useful for visualizing portfolio composition, file-system size distribution, market-share breakdowns.
Clicking a rectangle drills into its children. Color can encode a secondary dimension (e.g. growth rate while size encodes value).
Skip the manual import — ask your AI agent to build with this component. The Builder skill knows its props, variants, and idioms.