Treemap
Treemap for hierarchical categorical data visualization.
An illustration of the type, not a chart made from data.
When it fits
It fills a rectangle with nested blocks sized by value: sales by category and subcategory, or disk space by folder. It fits many parts into a small space, and the largest items jump out, which suits hierarchies with too many items for a pie or bar chart.
When it doesn't
Comparing blocks of similar size, or of different shapes, is imprecise; a sorted bar chart is more exact. When the levels of the hierarchy matter more than the sizes, a sunburst or icicle plot shows the structure more clearly.
The data it needs
Requires hierarchical categorical data with values.
Smallest size it draws at: 240 by 220 pixels.
school Learn more in the academy: Grain: what one row stands for
How to ask for it
Pick Treemap from the list of what fits your data, or describe it in your own words:
- “Show sales by category and subcategory as a treemap”
- “Which products take up most of our revenue?”
Try it
dataset Try it with Company Org Chart with HeadcountStart with your own data in Power BI or a spreadsheet (Excel or Google Sheets), or build it into your own app through the MCP server. Each one lists the types that fit your data before it builds anything.