Diagram
Timeline
Use a timeline diagram to show periods and the events in each, grouped into phases, such as the quarters of a product launch.
timelinetimeline
First line
The first word of the source, timeline, names the Mermaid family; the rest follows Mermaid's syntax for it.
Alt text
The product launch plans research and pricing in Q1, runs a beta in Q2, reaches general availability in Q3 and expands in Q4.
Markdown
A mermaid fence is a diagram; alt is its text alternative.OPF Markdown
# Timeline
```mermaid alt="The product launch plans research and pricing in Q1, runs a beta in Q2, reaches general availability in Q3 and expands in Q4."
timeline
title Product launch
section Plan
Q1 : Research : Pricing
section Build
Q2 : Beta
section Launch
Q3 : General availability
Q4 : Expansion
```
Layouts That Take It
Give the slide one of these layouts to place the diagram in a region, or none to compose it automatically.
OPF Config
diagrams:timelineOPF JSON
{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "PPTX.gallery — diagrams/timeline",
"description": "Use a timeline diagram to show periods and the events in each, grouped into phases, such as the quarters of a product launch.",
"tags": [
"gallery:diagrams/timeline"
],
"slides": [
{
"id": "gallery-preview-1",
"layout": "chart",
"title": "Timeline",
"diagram": {
"source": "timeline\n title Product launch\n section Plan\n Q1 : Research : Pricing\n section Build\n Q2 : Beta\n section Launch\n Q3 : General availability\n Q4 : Expansion",
"alt": "The product launch plans research and pricing in Q1, runs a beta in Q2, reaches general availability in Q3 and expands in Q4."
}
}
],
"catalogs": {
"default": {
"source": "https://www.pptx.gallery",
"layouts": {
"chart": {
"name": "Chart",
"summary": "One to six charts, with an optional note.",
"tags": [
"Visuals"
],
"direction": "column",
"regions": [
{
"name": "title"
},
{
"name": "charts",
"accepts": [
"chart",
"group",
"diagram"
],
"role": "primary",
"flow": "grid"
},
{
"name": "note",
"size": "auto",
"accepts": [
"text"
],
"role": "supporting",
"flow": "none"
}
],
"description": "Give a chart enough space to show its evidence. Use the title to state the conclusion and labels to explain the measures.",
"preview": {
"vectorSrc": "https://www.pptx.gallery/layout-previews/chart.svg"
}
}
}
}
}
}Open in visual editorOpen in Inspector
Load this config in the gallery's visual editor, or in the Inspector at pptx.dev.