All toolsChart Types

Treemap Chart

Size nested rectangles by weight to show a portfolio's composition at a glance.

What is a treemap chart?

A treemap displays hierarchical or part-to-whole data as a set of nested rectangles, where each rectangle's area is proportional to its value. In finance it is a natural fit for portfolio composition: every holding becomes a tile sized by its weight, so the biggest positions dominate the picture and concentration is instantly visible. Unlike a pie chart, a treemap uses space efficiently and can nest categories within categories.

Portfolio Composition Treemaptreemap
Download this chart Embed on your siteFree account — then brand it (remove the badge from £39, full white-label from £149).

Illustrative ten-position equity portfolio sized by weight. Values are for demonstration only.

A list of weights is hard to feel; a treemap makes composition visceral. The largest holdings command the largest tiles, so concentration and diversification jump out without reading a single percentage. This tool renders a ten-position equity portfolio as a treemap so you can see how weight translates into visual dominance.

Area encodes weight

The core principle of a treemap is that area equals value. A holding twice the weight of another gets twice the rectangle, so the layout is an honest map of where capital actually sits. This makes concentration risk obvious: if a handful of tiles swallow most of the canvas, the portfolio is far less diversified than a long holdings list might suggest. The human eye judges relative area quickly, which is the treemap's advantage over a table.

Read more
Colour adds a second dimension for free. In many tools a second dimension is added by shading tiles — by sector, performance or another metric — so a single chart shows both how much is allocated where and how each slice is doing; Quadesto's own treemap sizes by value and colours tiles from its theme palette to keep positions distinct. A common pattern colours tiles green-to-red by daily return, producing the familiar market 'heat map' where size shows weight and colour shows the day's move.

Treemap versus pie chart

Both show part-to-whole composition, but the treemap scales far better. A pie chart becomes unreadable past a handful of slices and forces the eye to compare angles, which humans do poorly. A treemap packs dozens of holdings legibly, compares areas rather than angles, and — crucially — nests hierarchy, so you can drill from sectors down to individual names within the same view. For real portfolios it is usually the stronger choice.

How Quadesto computes it

Quadesto builds the treemap from a table of names and values, laying out rectangles by a squarified algorithm so tiles stay close to square and remain readable. Holdings are sized by their value, sorted largest-first, and each tile is shaded from the theme palette so neighbouring positions stay distinct. The portfolio above is rendered from a simple name-and-weight table, and the treemap embeds into allocation and holdings reports.

Make it with your own data

Drop a CSV or JSON below and Quadesto builds this chart from your numbers — styled, computed, and embeddable in your reports and newsletters. Free, in your browser, nothing stored until you sign up.

Try it free — no account

Drop your CSV or JSON

Charted instantly in your browser · nothing stored until you sign up

Prefer to connect a live source? Create a free account to link FRED, Alpha Vantage, and more with your own API keys.

Frequently asked questions

What is a treemap chart used for?
It visualises part-to-whole and hierarchical data by sizing nested rectangles by value. In finance it is ideal for portfolio composition, sector weights and market maps, where tile area shows how much capital sits in each holding and concentration becomes immediately visible.
How do you read a treemap?
Each rectangle's area is proportional to its value, so larger tiles mean larger weights or amounts. Tiles may be grouped into categories and coloured by a second metric such as sector or return. Scan for a few dominant tiles to spot concentration, or many similar tiles for diversification.
Is a treemap better than a pie chart?
For more than a handful of categories, usually yes. Treemaps compare areas, which the eye reads better than the angles a pie relies on, and they stay legible with dozens of items. They also nest hierarchy, letting you show sectors and their holdings in one view — something a pie cannot do.
Can a treemap show hierarchy?
Yes. Treemaps nest rectangles within rectangles, so you can group individual holdings under sectors, or sectors under asset classes, and see both levels at once. This makes them well suited to portfolios and budgets where composition has natural layers.
Can I build a treemap from my own holdings?
Yes. Upload a table of names and weights to Quadesto, and the engine lays out a squarified treemap, sizing each tile by its value and sorting the largest positions to the fore. The finished chart embeds straight into allocation reports.
Make it with your data