---
title: "Nested treemap generator"
description: "Visualize hierarchical data composition using nested rectangles. All data processing occurs locally without server uploads."
---

> HTML: https://trendalyzer.app/chart/nested-treemap/
> Index: https://trendalyzer.app/llms.txt

# Nested treemap generator

Compare hierarchical composition with nested rectangles sized by leaf-level contribution.

Maturity: beta

A treemap chart for hierarchy.

Data shape: Node id, parent id, and numeric value columns.

## Columns

- `id` (text, required)
- `parent` (text, required)
- `value` (number, required)

## Sample data

| id | parent | value |
| --- | --- | --- |
| Product | Revenue | 45 |
| Services | Revenue | 30 |
| Other | Revenue | 25 |

Exports: SVG, PNG, and Excel data (data). PowerPoint export is currently unavailable pending dependency review.

## Hierarchical Structure & Parent-Child Nesting

A nested treemap displays deep, multi-tiered hierarchical data structures using a series of nested rectangular containers. The area of each rectangle is proportional to its numerical value, with parent nodes containing child nodes drawn as smaller rectangles within them. Distinct borders and headers distinguish the varying parental tiers, enabling the visual comparison of part-to-whole relationships across multiple levels of hierarchy simultaneously.

## FAQ



### How many levels of hierarchy can a nested treemap support?

Three to four levels remain interpretable; beyond four levels, interactive drill-down is recommended.
