Skip to content

Pie Charts

Pie charts display data as proportional segments of a circle, making it easy to compare parts of a whole.

pie title Technology Usage
"JavaScript" : 40
"Python" : 30
"Java" : 20
"Other" : 10

Mermaid Studio provides basic support for pie charts:

  • Syntax highlighting for titles, labels, and values
  • Live preview with accurate segment rendering
  • Error detection for invalid syntax

For complete syntax documentation including showData options and styling, see the Mermaid.js Pie Chart documentation.