# Treemap

> Boxes packed in a big box. The size of each box shows its share.

**Field:** Design  
**Category:** Data Visualization  
**Also known as:** Tree Map, Treemap Chart

## Think of it like

It is like a garden cut into beds. The biggest bed grows the most plants.

## Definition

A treemap shows parts of a whole as rectangles packed inside one big rectangle. The area of each box shows its size. Boxes can hold smaller boxes, so it shows groups inside groups. It fits hundreds of parts in one view, where a pie would fail. The computer scientist Ben Shneiderman made it in the early 1990s.

## Example

A disk tool shows a laptop's files as a treemap. One huge box turns out to be an old video folder.

## Why it matters

It handles many parts and groups inside groups. A pie or bar chart runs out of room long before.

## Common mistake

Using it to compare boxes of similar size. Areas are hard to judge, so it only shows big against small.

## Three principles

- **Area is the share.** Bigger box, bigger part.
- **Boxes inside boxes.** Groups within groups.
- **Many parts at once.** Hundreds fit in one view.

## Related terms

- [Pie Chart](https://learn.benibix.com/term/design/pie-chart)
- [Heatmap](https://learn.benibix.com/term/design/heatmap)
- [Chart](https://learn.benibix.com/term/design/chart)
- [Information Architecture (IA)](https://learn.benibix.com/term/design/information-architecture)

![Five columns of small charts, each under a job. Compare holds a bar chart and a stacked bar chart. Trend holds a line chart, an area chart and a sparkline. Part of a whole holds a pie, a donut and a treemap. Spread holds a histogram and a box plot. Links and flow holds a scatter plot, a heatmap and a Sankey diagram.](https://learn.benibix.com/diagrams/chart-chooser.svg)

---

Source: https://learn.benibix.com/term/design/treemap
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
