Part of a whole

Treemap

Partitions rectangles into hierarchical components with area proportional to value.

  • Chart
  • Hierarchy
  • Composition

What it answers

Which hierarchical components occupy the largest share?

Shape
Nested rectangles
What it shows
Dominant branches and nested composition.

Example: Raket Parts B.V.

The question

Where do Raket Parts’ 400 people work?

Raket Parts people by unit, 2025

Raket Parts people by unit, 2025Raket Parts, 400 people. Operations (purple): machining 130; assembly and clean room 70; warehouse and logistics 31; quality 22; maintenance 14; purchasing 14; production planning 9. Engineering (pink) 42. Sales and customer service (cyan) 31. Support (light cyan): finance and control 18; HR 7; IT 6; ERP project team 6.OperationsEngineeringSales and serviceSupportMachining130Assembly and clean room70Engineering42Sales and service31Warehouse31Quality22Finance181414Production9HR7IT6ERP6
Raket Parts people by unit, 2025Raket Parts, 400 people. Operations (purple): machining 130; assembly and clean room 70; warehouse and logistics 31; quality 22; maintenance 14; purchasing 14; production planning 9. Engineering (pink) 42. Sales and customer service (cyan) 31. Support (light cyan): finance and control 18; HR 7; IT 6; ERP project team 6.OperationsEngineeringSales and serviceSupportMachining130Assembly70Engineering42Sales31Warehouse31Quality22Finance1814149766
Raket Parts, 400 people. Operations (purple): machining 130; assembly and clean room 70; warehouse and logistics 31; quality 22; maintenance 14; purchasing 14; production planning 9. Engineering (pink) 42. Sales and customer service (cyan) 31. Support (light cyan): finance and control 18; HR 7; IT 6; ERP project team 6.

Raket Parts B.V. is a fictional company created for Insyt.

The misleading version

Same question, drawn badly

A treemap for three close values

A treemap for three close valuesStation outages 512, scheduling conflicts 388, interference and weather 171 (the other 89 missed passes are left out).Station outages512Scheduling conflicts388Interference171
A treemap for three close valuesStation outages 512, scheduling conflicts 388, interference and weather 171 (the other 89 missed passes are left out).Station outages512Scheduling conflicts388
Station outages 512, scheduling conflicts 388, interference and weather 171 (the other 89 missed passes are left out).

What goes wrong. Rectangles of different shapes are hard to compare. A bar chart shows the gap between 512 and 388 at once. This version also drops the 89 other misses.

When to use it

Use it when

Large nonnegative hierarchies with size overview.

Avoid it when

Precise cross-level comparison or negative measures.

How to read it

Read rectangle containment, then compare areas within the same level.

Note

Area values must be nonnegative.

The data you need

Layout
Parent-child table
Fields
NodeID: text; ParentID: text/blank; Label: text; Value: number when size is encoded
One row is
One node in a parent-child hierarchy. What is the grain?
Rules
Node IDs must be unique. Parents must exist. Reject cycles. Define leaf-only versus inclusive parent values.
Optional
Alternative: Level1,Level2...,Value. Tree diagrams can omit Value.
Preparation
Validate unique node IDs, parent links, roots and absence of cycles. For size-encoded hierarchies, state whether totals are leaf-only or inclusive.
Units
Tree levels and branch position are structural. Size-encoded components use a named value unit; parent shares divide by the chosen parent total.
Example of the input layout: Parent-child tableA parent-child table: each row names its parent, which together form the tree.NodeParentTopATopBTopA1AA2ATopABA1A2
A parent-child table: each row names its parent, which together form the tree.

Worked example

Root 100 has A60, B40; A contains 20 and 40. The two child rectangles partitionA's 60; B occupies 40% of the root.

NodeIDParentIDLabelValue
rootAll100
arootA60
brootB40