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
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
Source Slide
Slide 43 in the OPF chart gallery deck
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:treemapOpen 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",
"Q1 2024",
"Q2 2024",
"Q3 2024",
"Q4 2024",
"Q1 2025",
"Q2 2025"
],
"rows": [
[
"Series1",
21164,
42530,
25525,
83147,
64548,
89471
]
]
}
},
"design": {
"contentBox": false,
"contentAlignment": "left",
"titleAlignment": "left",
"contentDirection": "horizontal"
}
}
],
"catalogs": {
"layouts": {
"records": [
{
"$schema": "https://openpresentation.org/schema/opf-layout/v1",
"id": "data-visualization",
"name": "Data_Visualization",
"label": "Data Visualization",
"summary": "Clean charts and graphs with supporting text. Present complex data in digestible formats.",
"description": "Clean charts and graphs with supporting text. Present complex data in digestible formats.",
"tags": [
"Charts",
"Analytics",
"Data"
],
"master": "Gallery",
"masterSlideIndex": 3,
"groupHash": "153f444c25792e384c219fafc5ca1a0324103c782fa01f0902391c0014076cad",
"groupDefault": true,
"contentType": "Chart",
"contentMultiple": "1x",
"contentAlignment": "Left",
"contentBox": false,
"contentTypeChartPrimary": "None",
"contentTypeImageFill": "None",
"contentTypeListBullet": "None",
"contentTypeListHeading": false,
"slideTitle": true,
"slideTitleAlignment": "Left",
"slideImage": false,
"slideImageAlignment": "None",
"slideLayoutDirection": "Horizontal",
"zones": [
{
"role": "title",
"placeholder": "title"
},
{
"role": "chart",
"placeholder": "chart content 2"
},
{
"role": "text",
"placeholder": "text content 3"
}
],
"preview": {},
"details": "Clean charts and graphs with supporting text. Present complex data in digestible formats. OPF placeholders: title, chart, text.",
"category": "data-analysis",
"spatialCategory": "2 zone row",
"contentTypeTags": [
"comparison",
"mixed",
"chart"
],
"placeholders": [
{
"type": "title"
},
{
"type": "chart"
},
{
"type": "text"
}
],
"composition": {
"mode": "row"
},
"slideSubtitle": false
}
]
}
}
}Open in OPF PlaygroundOpen in visual editor
Preview this config live at pptx.dev/playground, or load it in the gallery visual editor.