Pie Chart Preset
Doughnut
Doughnut is an OPF pie chart preset with canonical workbook metadata, sample data, and engine chart type mapping.
doughnutOPF type: DOUGHNUTsimple
Use Case
Show share of total across a limited set of categories.
Data Requirements
1 series, 2 categories, flat category/series workbook
Group
Part-to-whole charts for a small number of segments.
Series
1 series across 2 categories
Workbook Range
Sheet1!$A$1:$C$2
Source Slide
Slide 20 in the OPF chart gallery deck
When to Use
Use when the audience needs a quick composition read with two to five meaningful segments.
When to Avoid
Avoid when precise comparison between similar slices is required.
Best Practices
1
Limit segment count
2
Label slices directly
3
Order slices by size or narrative priority
Recommended Companions
OPF Config
charts:doughnutOpen Presentation Format
{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "PPTX.gallery — charts/doughnut",
"description": "Doughnut is an OPF pie chart preset with canonical workbook metadata, sample data, and engine chart type mapping.",
"tags": [
"gallery:charts/doughnut"
],
"slides": [
{
"id": "gallery-preview-1",
"layout": "data-visualization",
"title": "Doughnut",
"subtitle": "Show share of total across a limited set of categories.",
"chart": {
"type": "doughnut",
"data": {
"columns": [
"Segment",
"Q1 2024",
"Q2 2024"
],
"rows": [
[
"Value 1",
63264,
91351
]
]
}
}
}
]
}Open in OPF Playground
Preview this config live at pptx.dev/playground.