Treemap
Treemaps display hierarchical (tree-structured) data as a set of nested rectangles. Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. The area of each rectangle is proportional to a specified dimension of the data (e.g., size, value), making it useful for visualizing part-to-whole relationships within a hierarchy.
Definition
Treemaps display hierarchical (tree-structured) data as a set of nested rectangles. Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. The area of each rectangle is proportional to a specified dimension of the data (e.g., size, value), making it useful for visualizing part-to-whole relationships within a hierarchy.
Examples
E-commerce revenue breakdown by product category hierarchy, showing multiple levels of categorization
Chart Visualization
This example includes an interactive chart visualization with 25 data points.
Chart type: treemap
Usage
Best Used For
- Showing hierarchical structures and their relative sizes
- Comparing proportions within nested categories
- Visualizing disk space usage or organizational structures
- Displaying large amounts of hierarchical data compactly
Data Requirements
[Object]
Limitations
Important Considerations
- ⚠Deep hierarchies can become difficult to read and label
- ⚠Comparing areas of non-adjacent rectangles can be hard
- ⚠Aspect ratios of rectangles can sometimes distort area perception
- ⚠Not effective for showing evolution or changes over time
Best Used For
- Showing hierarchical structures and their relative sizes
- Comparing proportions within nested categories
- Visualizing disk space usage or organizational structures
- Displaying large amounts of hierarchical data compactly