Skip to content
All charts

Treemap generator

HierarchyBetaChecked against known-good test files, still gathering feedback.

Skip to the chart

Treemap

Show hierarchical parts-to-whole relationships as nested rectangles sized by value. This treemap reads id, parent, value. Item, parent, and numeric value columns. Edit the sample rows in the table, then export SVG, PNG, or Excel data. The table is processed in this browser and is not uploaded.

Hierarchyhierarchycompositionparts-to-whole

Columns

  • idtext
  • parenttext
  • valuenumber
Sample rows for Treemap
idparentvalue
ProductRevenue45
ServicesRevenue30
OtherRevenue25

Edit the data, then export.

Everything runs in your browser. Your data is not uploaded.

Data

Paste tab-separated data from Excel or edit the cells directly.

idparentvalue
ProductRevenue45
ServicesRevenue30
OtherRevenue25
Paste or import table data

Paste a header row, or choose a local CSV/TSV file. Files are read in this browser and capped at 500 rows.

Appearance

Preview

Sample preview of the example data. The live chart takes over as soon as you start working.

idparentvalue
ProductRevenue45
ServicesRevenue30
OtherRevenue25

SVG, PNG, and Excel exports are generated locally in this browser. PowerPoint export is temporarily unavailable while its dependency path is reviewed for a high-severity image parser advisory.

Hierarchical Structure & Parent-Child Nesting

A treemap visualizes hierarchical parts-to-whole relationships using a series of nested rectangles. Each main category branch is represented by a large bounding rectangle, which is further subdivided into smaller sub-rectangles for its child nodes. The area of every rectangle is strictly proportional to a specified quantitative value, enabling viewers to rapidly assess the largest contributors within complex, multi-level datasets.

Data shape
Item, parent, and numeric value columns
Exports
SVG, PNG, and Excel data; PowerPoint export is temporarily unavailable pending dependency review.

Frequently asked questions

How does a treemap tile rectangles?

Treemaps use tiling algorithms (such as Squarified, Slice-and-Dice, or Voronoi) to subdivide area into rectangles that match data proportions while keeping aspect ratios close to 1:1.

Can a treemap show both size and performance?

This generator maps rectangle area to the value column only. It does not accept a second measure for color or performance encoding.

Reviewed 16 August 2026.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close