Mermaid Radar Chart Syntax & Examples
Use Mermaid's radar-beta syntax to compare multiple series across the same labeled axes. Copy the example below and adjust the values for your own comparison.
MERMAID EXAMPLE
Mermaid radar chart example
Copy the working code, replace the labels and values, then continue editing the same diagram in Mermaid Studio.
Compare product capabilities
Review team or system qualities
Present multi-dimensional evaluations
radar-beta
title Diagram tool comparison
axis speed["Speed"], clarity["Clarity"], cost["Cost"]
curve mermaid["Mermaid"]{5, 4, 4}
curve other["Other"]{4, 5, 3}
max 5radar-beta
title Diagram tool comparison
axis speed["Speed"], clarity["Clarity"], cost["Cost"]
curve mermaid["Mermaid"]{5, 4, 4}
curve other["Other"]{4, 5, 3}
max 5radar-beta
title Diagram tool comparison
axis speed["Speed"], clarity["Clarity"], cost["Cost"]
curve mermaid["Mermaid"]{5, 4, 4}
curve other["Other"]{4, 5, 3}
max 5SYNTAX
Mermaid radar chart syntax
Learn the small set of Mermaid keywords that make this chart work.
| Syntax | What it does |
|---|---|
| radar-beta | Starts a radar chart definition. |
| title | Adds an optional title above the chart. |
| axis | Defines the dimensions and optional labels used by every curve. |
| curve | Adds a named series with one value for each axis. |
| max / min | Sets the shared scale. Use max when series values must be comparable. |
Radar charts use the radar-beta header in the current Mermaid syntax. Test the installed Mermaid version when sharing examples across tools.
CODE EXAMPLES
More Radar examples
TROUBLESHOOTING
Common Radar errors
FAQ
Frequently asked questions
What is a radar chart good for?+
Radar charts help compare multiple options across a consistent set of dimensions when the audience needs a broad view of trade-offs.
How many dimensions should a radar chart use?+
Use enough dimensions to support the decision but avoid so many axes that the shape becomes difficult to read.
What is the Mermaid radar chart syntax?+
Start with radar-beta, define the axes with axis, add one or more curves with curve, and set max when every series shares a known scale.
Can a radar chart compare multiple series?+
Yes. Add multiple curve declarations with the same number of values as the defined axes.
RELATED GUIDES
Keep exploring Mermaid charts
TEMPLATES
Start from a related template
Ready to make a Radar?
Open the editor with a working example and adapt it to your project.
Start in Mermaid Studio