TreeMap Chart Maker

Data & Settings

Data

NameValueColor

General settings

Display settings

Loading chart...

About TreeMap Charts

When to use TreeMap charts

TreeMaps are ideal for displaying hierarchical data as nested rectangles, with the size of each rectangle proportional to a specific value. They're perfect for comparing proportions within categories and visualizing complex hierarchical structures.

Benefits of TreeMap charts

  • Efficiently display hierarchical data using space-filling visualization
  • Compare proportions across categories at a glance
  • Visualize multiple levels of data in a single chart
  • Make efficient use of space compared to traditional hierarchical diagrams
  • Reveal patterns and outliers in complex datasets

How to create a TreeMap chart

Add your data

Enter the names and values for each rectangle in the data table.

Customize the layout

Choose between different layout algorithms like squarified, binary, slice, or dice to control how rectangles are arranged.

Adjust general settings

Set the aspect ratio, stroke width, and animation duration to fine-tune the appearance of your TreeMap.

Configure display options

Choose how to display labels, their position, and whether to show a legend for your data.

Tips for Better Charts:

  • Use contrasting colors to distinguish between different categories
  • Keep labels concise to fit within the rectangles
  • For large datasets, consider using a hierarchical structure with nested rectangles
  • Experiment with different layout algorithms to find the most readable representation of your data

Frequently Asked Questions

Different algorithms (squarified, binary, slice, dice, slice-dice) determine how rectangles are sized and positioned. Squarified aims for rectangles with aspect ratios close to 1, making them easier to see and compare. Binary creates a binary-tree-like division. Slice and dice create horizontal or vertical divisions, while slice-dice alternates between them.

Yes, TreeMaps can represent hierarchical data by nesting rectangles within larger rectangles, with each level representing a deeper level in the hierarchy.

Use TreeMaps when you have hierarchical data, many categories, or when you need to compare values across different levels of categorization. TreeMaps are better than pie charts for visualizing complex hierarchies and larger numbers of categories.