Skip to main content

Treemap

A Treemap is a visualization tool used to display hierarchical data as nested rectangles. Each rectangle represents a category, with its size corresponding to a specified metric, making it easy to compare the proportions of each part within the whole. 

A Treemap is a visualization tool used to display hierarchical data as nested rectangles. Each rectangle represents a category, with its size corresponding to a specified metric, making it easy to compare the proportions of each part within the whole. 

How to Read the Visualization 

The Treemap displays data as a collection of nested rectangles. The size of each rectangle is proportional to the value it represents, and rectangles are arranged hierarchically. Colors can be used to further distinguish between different categories. 

Data Structure 

  • Measures: 1 or more 

  • Dimensions: 1 or more (with hierarchical levels) 

Best Practices / Limitations 

  • Hierarchy: Ideal for data with hierarchical relationships. 

  • Readability: Ensure that the text within rectangles is legible; avoid too many small segments. 

  • Color: Use contrasting colors to aid differentiation and comparison. 

Examples of When to Use 

  • Allocating budget across departments. 

  • Analyzing website traffic sources. 

  • Visualizing the distribution of assets. 

Common Industry Usages 

  • Finance 

  • Marketing 

  • IT 

  • Healthcare