How to Create a Tree Map Chart in Excel

Tree maps are a powerful visualization tool that helps to understand and analyze large amounts of data by displaying it in a hierarchical, tree-like structure. Excel, with its robust data analysis and visualization capabilities, allows you to create tree map charts with ease. In this guide, we'll walk you through the step-by-step process of creating a tree map chart in Excel.

Treemap in MsExcel | Discover Talent Presents
Treemap in MsExcel | Discover Talent Presents

Before we dive into the process, ensure you have the latest version of Excel, as tree map charts are not available in older versions. Also, familiarize yourself with the data you'll be using, as tree maps work best with hierarchical data.

How to Create a Family Tree Chart in Excel, Word, Numbers, Pages, PDF - Tutorial
How to Create a Family Tree Chart in Excel, Word, Numbers, Pages, PDF - Tutorial

Preparing Your Data

Tree maps require your data to be organized in a specific way. It should be hierarchical, with a clear parent-child relationship. For instance, you might have a dataset with countries as the top-level hierarchy, states as the next level, and cities as the lowest level.

Creating Tree Map Charts That Actually Look Good
Creating Tree Map Charts That Actually Look Good

Here's how your data should look:

CountryStateCity
USACaliforniaLos Angeles
USACaliforniaSan Francisco
USANew YorkNew York City
Tree Map Charts | AnyChart Gallery
Tree Map Charts | AnyChart Gallery

Creating a PivotTable

A PivotTable can help you summarize and analyze your data. It's not a requirement for creating a tree map, but it can make the process smoother. To create a PivotTable, select your data, go to the 'Insert' tab, and click on 'PivotTable'. Choose where you want to place it and click 'OK'.

Now, drag and drop your fields into the 'Rows' section of the PivotTable. For our example, drag 'Country', 'State', and 'City' into the 'Rows' section.

How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)
How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)

Creating a Tree Map Chart

Now that your data is ready, let's create the tree map chart. Select your PivotTable, go to the 'Insert' tab, and click on 'Tree Map'. A tree map chart will be inserted into your worksheet.

By default, Excel will use the first two fields in your PivotTable as the hierarchy for your tree map. In our case, it will use 'Country' and 'State'. If you want to change the hierarchy, right-click on the chart and select 'Select Data'. In the 'Select Data Source' dialog box, you can change the hierarchy by clicking on the 'Switch Row/Column' button.

How to Make a Map Chart in Excel - Tutorial πŸ—ΊοΈ πŸ“Š
How to Make a Map Chart in Excel - Tutorial πŸ—ΊοΈ πŸ“Š

Customizing Your Tree Map Chart

Once you've created your tree map, you can customize it to better suit your needs. Right-click on the chart and select 'Format'. Here, you can change the colors, add data labels, or adjust the layout.

How To Make a Family Tree in Microsoft Excel (Plus Tips)
How To Make a Family Tree in Microsoft Excel (Plus Tips)
How to Make a Family Tree in Excel | Edrawmax Online
How to Make a Family Tree in Excel | Edrawmax Online
Your Excel Dictionary (@exceldictionary) on Threads
Your Excel Dictionary (@exceldictionary) on Threads
How To Create Charts and Graphs in Excel
How To Create Charts and Graphs in Excel
How to Make a Decision Tree in Excel: A Step-by-Step Guide
How to Make a Decision Tree in Excel: A Step-by-Step Guide
How to Make a Family Tree in Microsoft Excel
How to Make a Family Tree in Microsoft Excel
Tree Map
Tree Map
How to Make a Map Chart in Excel - Tutorial πŸ—ΊοΈ πŸ“Š
How to Make a Map Chart in Excel - Tutorial πŸ—ΊοΈ πŸ“Š
Treemap Maker – 120+ stunning chart types
Treemap Maker – 120+ stunning chart types
Ultimate KPI Tree Guide: What Is a KPI Tree & How to Build KPI Trees That Work [2026]
Ultimate KPI Tree Guide: What Is a KPI Tree & How to Build KPI Trees That Work [2026]
How to Draw a Decision Tree in Excel | Techwalla
How to Draw a Decision Tree in Excel | Techwalla
How to Create a Dynamic Map Chart in Excel - Excel Tips and tricks
How to Create a Dynamic Map Chart in Excel - Excel Tips and tricks
How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)
How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)
How To Create a Flow Chart in Excel
How To Create a Flow Chart in Excel
Tree Diagram in Excel | CTQ | Driver Diagram | Decision Tree
Tree Diagram in Excel | CTQ | Driver Diagram | Decision Tree
How to Make a Chart in Excel
How to Make a Chart in Excel
How to Make an Org Chart in Excel (+ video tutorial)
How to Make an Org Chart in Excel (+ video tutorial)
Step-by-Step Excel Map Chart to Logistics Dashboard
Step-by-Step Excel Map Chart to Logistics Dashboard
Tree Map - 3 Branches
Tree Map - 3 Branches
Graphic Organizers Worksheets
Graphic Organizers Worksheets

Changing Colors

To change the colors of your tree map, go to the 'Fill' section in the 'Format' pane. Here, you can choose a solid color, gradient, or picture for your tree map. You can also set different colors for different levels of your hierarchy.

To do this, select the level you want to change (e.g., 'State'), right-click and select 'Format'. Then, go to the 'Fill' section and change the color.

Adding Data Labels

Data labels can help you understand the values in your tree map. To add data labels, right-click on the chart and select 'Add Data Labels'. You can also format the data labels by right-clicking on them and selecting 'Format'. Here, you can change the font, color, and size of the labels.

Tree maps are a great way to visualize and understand hierarchical data. With Excel's powerful data analysis and visualization tools, creating a tree map chart is a straightforward process. So, go ahead, give it a try, and unlock a new way of understanding your data.