Treemap generator
HierarchyBetaChecked against known-good test files, still gathering feedback.
Skip to the chartTreemap
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.
Columns
- idtext
- parenttext
- valuenumber
| id | parent | value |
|---|---|---|
| Product | Revenue | 45 |
| Services | Revenue | 30 |
| Other | Revenue | 25 |
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.
| id | parent | value |
|---|---|---|
| Product | Revenue | 45 |
| Services | Revenue | 30 |
| Other | Revenue | 25 |
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.
| id | parent | value |
|---|---|---|
| Product | Revenue | 45 |
| Services | Revenue | 30 |
| Other | Revenue | 25 |
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.
Related tools
Reviewed 16 August 2026.