Pie Chart Diagrams
Last updated
Last updated
Mermaid's pie charts visualize proportional data by dividing a circle into slices, where each slice represents a percentage of the whole. For data teams, they're useful for showing distributions, composition breakdowns, and relative proportions in your data.
From the Code IDE, Click Apps and Agents from the lefthand panel
Select Mermaid. Paradime will automatically start a new mermaid project
In the terminal that appears, use the arrow keys to select "Pie Charts"
A new pie.mmd
file will be created in your editor with this starter template:
Click the eye icon (👁️) in the top right corner of your Mermaid file to preview the diagram
Edit and update your .mmd
file as needed - the preview will update automatically
Add showData
after pie
to display values
Title is optional
Values support up to 2 decimal places
textPosition
: 0.0 (center) to 1.0 (edge)
Default: 0.75
Limit to 6-8 slices for readability
Order slices by size (largest first)
Use clear, concise labels
Consider using showData
for precise values
Use meaningful titles
For more syntax options and configuration parameters, visit the official Mermaid documentation