PPTX.gallery

Treemap Chart Preset

Treemap

Treemap is an OPF treemap chart preset with canonical workbook metadata, sample data, and engine chart type mapping.

treemapOPF type: TREEMAPsimple
Treemap chart preview rendered from its OPF sample

Use Case

Show how categories and subcategories contribute to a total.

Data Requirements

1 series, 6 categories, flat category/series workbook

Group

Hierarchical part-to-whole charts using nested rectangles.

Series

1 series across 6 categories

Workbook Range

Sheet1!$A$1:$G$2

When to Use

Use when hierarchy and relative size are both important.

When to Avoid

Avoid when the audience needs exact sequential comparison or many labels must be read.

Best Practices

1

Keep hierarchy shallow

2

Label only readable blocks

3

Use grouping color consistently

Recommended Companions

OPF Config

charts:treemap
Open Presentation Format
{
  "$schema": "https://openpresentation.org/schema/opf/v1",
  "name": "PPTX.gallery — charts/treemap",
  "description": "Treemap is an OPF treemap chart preset with canonical workbook metadata, sample data, and engine chart type mapping.",
  "tags": [
    "gallery:charts/treemap"
  ],
  "slides": [
    {
      "id": "gallery-preview-1",
      "layout": "data-visualization",
      "title": "Treemap",
      "subtitle": "Show how categories and subcategories contribute to a total.",
      "chart": {
        "type": "treemap",
        "data": {
          "columns": [
            "Level1",
            "Series1"
          ],
          "rows": [
            [
              "Q1 2024",
              21164
            ],
            [
              "Q2 2024",
              42530
            ],
            [
              "Q3 2024",
              25525
            ],
            [
              "Q4 2024",
              83147
            ],
            [
              "Q1 2025",
              64548
            ],
            [
              "Q2 2025",
              89471
            ]
          ]
        }
      },
      "design": {
        "contentBox": false,
        "contentAlignment": "left",
        "titleAlignment": "left",
        "contentDirection": "horizontal"
      }
    }
  ]
}
Open in visual editorOpen in Inspector

Load this config in the gallery's visual editor, or in the Inspector at pptx.dev.