Shares of a whole as rectangles, nested in groups when you want: a budget by department and item.
A sample to start from: change the table and the chart is saved in this browser.
A name and a number per row. For a treemap, a group column before the names nests them.
A
B
C
1
2
3
4
5
6
7
8
7 rows, names in row 1, labels in column A, 1 columns of numbers.
How to make a treemap
A treemap shows shares of a whole as rectangles: the bigger the amount, the bigger the box. It handles more items than a pie and can nest them in groups, such as a budget split into departments and their items.
Preparing the table
A name and an amount in each row. Add a column of group names before the names, and the boxes are nested in their groups, each group in its own colour. Only amounts above zero are drawn. For example:
Department
Item
Budget
Marketing
Ads
42000
Marketing
Events
18000
IT
Servers
35000
IT
Software
27000
IT
Laptops
22000
...
...
...
Paste your own table into any cell on the "Data" tab, straight from Excel or Google Sheets, or type over the sample. The chart redraws as you type. Under the cells you can see how the table was read: whether the first row holds names and which column holds the labels. If the guess is wrong, change "First row" or "First column". On "Look" you set the title, colours and number format; on "Download" you get a PNG in the size you need, an SVG, or the picture copied straight to the clipboard.
Labels and percentages
Small boxes have no room for text, so their names show up on hover. With "Percentages" under "Labels on the chart", each box shows its share of the whole, which is often more useful than the amount.
Examples
A company budget by department and item.
Disk space taken by folders.
Sales by category and product.
Who it is for
Finance teams, analysts and anyone who has outgrown the pie chart.