How to Make a Treemap in PowerPoint: Step-by-Step
In this article
To make a treemap in PowerPoint, you need a slide with a chart inserted via Insert > Chart, then choose the Treemap chart type from the chart gallery. Enter your category and value data in the linked spreadsheet, close it, and PowerPoint draws the treemap automatically. You can then adjust colors, labels, and layout from the chart's formatting options. The steps below are for PowerPoint on Windows and Mac desktop; the web version has a more limited chart editor, and menu labels can differ slightly by version, device, or region.
What You'll Need
- PowerPoint desktop app (Windows or Mac). The web version can display an existing treemap but has fewer editing options.
- A slide open in Normal view.
- Your data organized in two columns: one for category names and one for numeric values. Treemap charts work best with positive numbers; zero or negative values are ignored or cause errors.
Step-by-Step
- Open the slide where you want the treemap and go to the Insert tab.
- Click Chart in the Illustrations group. The Insert Chart dialog opens.
- Select Treemap from the list on the left. On some versions it appears under the Hierarchy category; on others it is listed directly. Pick the plain Treemap option, not Sunburst.
- Click OK. PowerPoint inserts a placeholder treemap and opens a small spreadsheet window with sample data.
- Replace the sample data in the spreadsheet. Put category names in the first column and values in the second. If you have a hierarchy (for example, Region and then Product), use additional columns to the left of the values; treemap supports multiple category levels.
- Close the spreadsheet window using its close button. The treemap updates to reflect your data.
- Resize and position the chart by dragging its border or corner handles on the slide.
- Add or edit labels: click the chart, then click the + button (Chart Elements) at its top-right, or use Chart Design > Add Chart Element. Turn on Data Labels and choose what they show, such as Category Name and Value.
- Change colors: select the chart, go to Chart Design > Change Colors, and pick a palette. To color individual rectangles, click a rectangle once to select the series, then click the specific rectangle again and use Format > Shape Fill.
- Adjust the legend and title from the same Chart Elements menu: toggle Legend on or off and edit the chart title text directly.
- Fine-tune layout: right-click the chart and choose Format Chart Area to set borders, fill, and text options. Use Format Data Series to change gap width between rectangles.
Common Mistakes
- Using negative or zero values. Treemap rectangles represent proportions of a whole, so negative numbers cannot be plotted and zeros produce no rectangle. Clean your data first.
- Putting values in the wrong column. The value column must be numeric. Text that looks like a number (for example, "1,200" stored as text) will be treated as zero.
- Choosing Sunburst by mistake. Sunburst is a related but different chart; it shows hierarchy as rings rather than rectangles.
- Leaving too many tiny categories. Dozens of small values create unreadable slivers. Group minor categories into an "Other" row before charting.
- Forgetting to close the spreadsheet. The chart stays in edit mode and may not refresh on the slide until the data sheet is closed.
- Editing the chart image instead of the data. To change values, right-click the chart and choose Edit Data; do not try to type over the rectangles.
Tips
- Sort your data from largest to smallest before inserting the chart so the biggest rectangles appear first in the layout.
- Keep category names short. Long labels get truncated inside small rectangles.
- Use a single color family with varying shades for a cleaner look, and reserve a contrasting color for the category you want to highlight.
- If you need to show change over time, a treemap is the wrong chart; use a bar or line chart instead.
- Copy the chart and use Paste Special as a picture if you need a fixed image that will not update.
- Check the chart on the slide show view, since labels that fit in edit mode can overlap when projected.
Troubleshooting
- The Treemap option is greyed out or missing: You may be using PowerPoint for the web or an older version. Open the file in the desktop app, or update PowerPoint through your Microsoft account or Office installer.
- The chart shows only one rectangle: Your value column likely contains text or blanks. Reopen Edit Data and confirm every row has a number.
- Labels are cut off or overlapping: Reduce the number of categories, shorten names, or turn off value labels and keep only category names.
- Colors will not change: Make sure you are changing the chart colors, not the slide background. Select the chart first, then use Chart Design > Change Colors.
- The chart does not update after editing data: Close the spreadsheet window completely, then click outside the chart. If it still does not refresh, right-click the chart and choose Refresh Data if available, or reinsert the chart.
- PowerPoint crashes when inserting a chart: Save your work, restart PowerPoint, and try a new blank slide. If the problem persists, repair Office from your system's installed apps settings.
Frequently Asked Questions
Can I make a treemap in PowerPoint for the web?
The web version can open and display a treemap created in the desktop app, but chart editing is limited. For full control over data and formatting, use the desktop app.
What data do I need for a treemap?
At minimum, one column of category names and one column of positive numeric values. Add extra category columns to the left if you want a hierarchy.
Why are some of my categories missing from the treemap?
Categories with zero, blank, or text values in the value column are not plotted. Check the data sheet for empty cells or numbers stored as text.
Can I use a treemap to show percentages?
Yes. Enter the percentage values as numbers (for example, 25 for 25%) and the rectangles will size proportionally. Label them clearly so viewers know the unit.
How do I edit the data after the chart is created?
Right-click the chart and choose Edit Data. The spreadsheet reopens; make your changes and close it again.
Does a treemap work in Google Slides or Keynote?
Neither app offers a native treemap chart type. You can insert an image of a treemap created elsewhere, but it will not be editable as a chart.