Mermaid template

Pie Chart

Quick proportional breakdowns with a one-line-per-slice syntax.

pie 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.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.