Excel can build a treemap for you in about a minute, provided your data is set up as one category column and one number column. Select the data, go to Insert, click the treemap icon in the Charts group, and Excel draws rectangles sized by the number and grouped by the category. The rest of the work is layout: fixing labels, tightening gaps, and adding colour so the chart reads clearly instead of looking like a wall of tiles. Treemaps suit comparisons of many parts of a whole where a pie chart would collapse into unreadable slivers.

What You'll Need

  • Excel 2016 or later on Windows or Mac, or Excel for the web. Treemap is one of the modern "hierarchy" charts added in Excel 2016, so Excel 2013 and older cannot draw one.
  • Two columns minimum: a text category column and a numeric value column, with a header row.
  • Optionally a third column for a second hierarchy level, such as Region then Product.
  • Values that are positive numbers. Negative values and blanks confuse the sizing, so clean them first.
  • No zero totals and no duplicate category names you want counted separately.

Step-by-Step

  1. Lay out your data in a clean block. Put the broadest category in the left column and the measure in the right, for example Category and Sales. If you want a nested treemap, order the columns from the highest level to the lowest, e.g. Region, Product, Sales. Do not leave blank rows or merged cells inside the range.
  2. Select the whole block including headers. The easiest way is to click any cell in the data and press Ctrl+A (Windows) or Cmd+A (Mac) so Excel picks up the contiguous range.
  3. Go to the Insert tab and find the Charts group. Click the icon that looks like a small hierarchy of rectangles, then choose Treemap from the gallery. Label and menu wording can differ slightly by version and region, but the treemap sits in that same chart gallery alongside Sunburst, Histogram and Waterfall.
  4. Excel inserts the chart on the same sheet using the default layout. Drag it to a clear area or use Chart Design > Move Chart to put it on its own sheet if you prefer a full-page view.
  5. Check the chart picked up the right fields. If Excel guessed wrong, click the chart and use Chart Design > Select Data to correct the series and category ranges. If your header names appear as a legend series instead of a category, the data is transposed; fix it with Chart Design > Switch Row/Column or re-select the range.
  6. Tidy the labels. By default Excel shows category name and value inside each rectangle. Right-click a rectangle and choose Format Data Labels, then tick or untick Value, Category Name and Percent to control what appears. Turn on Wrap text in shape if long names spill out.
  7. Adjust spacing so tiles do not touch. Right-click any rectangle, choose Format Data Series, and set the Gap Width to a small value such as 2–5 percent in the Series Options pane. A thin gap makes the blocks far easier to read.
  8. Colour by category, not by value, if you want each group to be identifiable. In the same Format Data Series pane look for the fill options. To colour a single tile manually, click it twice (once for the series, once for the point) and pick a Fill colour. For value-driven colour use Chart Design > Change Colors or a conditional-formatting-linked colour scheme if you set it up yourself.
  9. Add a clear title that states the measure and the period, e.g. "Sales by Product, Q3" rather than Excel's default placeholder. Click the title box and type it.
  10. Sort the source data descending by value if you want the largest tiles to read predictably, then refresh the chart. Treemaps place the largest rectangles top-left, so ordering the data makes the visual match your table.
  11. Finish with formatting: remove gridlines (charts do not have them anyway), set a border on the chart area, and format the value labels as currency or thousands with a comma using the Home tab's number format before refreshing.

Common Mistakes

  • Using a pie-style data set. Treemaps need many categories to be worth it; with three or four slices a bar chart communicates better.
  • Leaving a totals row in the range. A grand total such as "All products" becomes one giant tile that swallows the chart. Exclude total rows from the selected range.
  • Negative or zero values. Excel sizes tiles by area, and negative numbers cannot have area, so those tiles vanish or distort the scale. Remove or convert them.
  • Duplicated category names. Excel treats identical labels as one group and sums them, which looks like data loss. Make names unique or add the parent level.
  • Text values in the measure column. Numbers stored as text (often left-aligned) plot as zero. Convert them with Data > Text to Columns or by retyping.
  • Too many labels. Small tiles hide labels automatically or overlap others; drop value labels for the smallest items or consolidate long-tail categories into "Other".

Tips

  • Use a two-level layout (Region > Product) when you want to see both the big picture and the detail — Excel nests smaller rectangles inside larger grouped ones.
  • Keep the number of tiles roughly between 10 and 30. Fewer and a bar chart is clearer; more and the small tiles become unclickable slivers.
  • Put your measure in the same units throughout. Mixing dollars and units makes the areas meaningless.
  • Name the chart's axis area through the chart title rather than adding axis labels; treemaps have no axes to label.
  • If you need to reuse the layout, copy the finished chart and use Chart Design > Select Data to point the copy at a new range — formatting carries over.
  • Consider a Sunburst chart from the same gallery if the hierarchy has a single root that you want to show as a ring rather than a rectangle.

Troubleshooting

  • The chart is blank or all one tile. The selected range probably includes a single category or contains a total. Re-select only the detail rows.
  • Every tile is the same size. The measure column is text, or Excel is plotting the count of items rather than your value. Check the field in Select Data.
  • Labels are clipped. Enlarge the chart, reduce the font size in Format Data Labels, or enable wrapping. Labels below a certain tile size are hidden by design.
  • Tiles are hard to tell apart. Apply Change Colors, set a small Gap Width, or add a thin border in Format Data Series.
  • Chart does not update. Treemaps recalculate from the range they were built on; if you add rows, use Select Data to expand the range or convert the source to a table first so Excel grows it automatically.
  • Treemap option is greyed out or missing. You are likely on Excel 2013 or older, or the workbook is in an old format. Save as .xlsx and use a newer build.

Frequently Asked Questions

Can I make a treemap on Excel for the web?

Yes, Excel for the web supports treemap charts. The chart gallery is in the Insert tab, though some fine-tuning options such as detailed data-label formatting are more limited than in the desktop app.

Does a treemap need more than one category column?

No. One category column and one value column is enough. A second category column adds nesting, showing groups of rectangles inside larger ones.

Why do my tile sizes not match the spreadsheet?

Usually because a total row is included, a value is stored as text, or a negative number is present. Fix the source data and the areas will match the values proportionally.

Can I show percentages instead of raw values?

Yes. In Format Data Labels, tick Percent. Excel calculates each tile's share of the total automatically, so you do not need a percentage column.

What is the difference between a treemap and a Sunburst chart?

Both show hierarchies. A treemap uses nested rectangles, which is better for comparing relative sizes; a Sunburst uses concentric rings, which is better for showing depth.