Mermaid template
Pie Chart
Quick proportional breakdowns with a one-line-per-slice syntax.
Source
Open in editorpie showData
title Where the day goes
"Deep work" : 4.5
"Meetings" : 2
"Code review" : 1.5
"Slack" : 1
Pie charts in Mermaid are deliberately simple: a title, then one line per slice with a label and value. Values are normalized to percentages automatically.
Add `showData` after the pie keyword to print the raw values in the legend.