Sparkline Chart Preset
Sparkline
Sparkline is an OPF sparkline chart preset with canonical workbook metadata, sample data, and engine chart type mapping.
Use Case
Add trend context beside KPIs without consuming a full chart panel.
Data Requirements
1 series, 12 categories, normalized table workbook, 2 series groups, secondary categories
Group
Compact trend lines for dense dashboards and inline metric context.
Series
1 series across 12 categories
Workbook Range
Sheet1!$A$1:$M$5
Source Slide
Slide 60 in the OPF chart gallery deck
When to Use
Use when the exact values are secondary and direction or volatility is the signal.
When to Avoid
Avoid when axes, exact labels, or multiple annotations are required.
Best Practices
Pair with a headline metric
Keep the sparkline visually quiet
Avoid overexplaining tiny charts
Recommended Companions
OPF Config
charts:sparkline{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "PPTX.gallery — charts/sparkline",
"description": "Sparkline is an OPF sparkline chart preset with canonical workbook metadata, sample data, and engine chart type mapping.",
"tags": [
"gallery:charts/sparkline"
],
"slides": [
{
"id": "gallery-preview-1",
"layout": "data-visualization",
"title": "Sparkline",
"subtitle": "Add trend context beside KPIs without consuming a full chart panel.",
"chart": {
"type": "sparkline",
"data": {
"columns": [
"Period",
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"
],
"rows": [
[
"Category 1",
234782949,
140128302,
190588397,
199789165,
263795306,
211391462,
304598959,
249294712,
275548145,
147018690,
238203096,
265921274
]
]
}
},
"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
}
]
}
}
}Preview this config live at pptx.dev/playground, or load it in the gallery visual editor.