merIDK / Diagram types / Radar chart
Mermaid radar chart: example and syntax
Radar (spider) charts compare several items across the same set of measures. Use them for skill matrices, product comparisons and survey results.
Open this example in the editor
Example code
---
title: "Language skills"
---
radar-beta
axis js["JS"], py["Python"], go["Go"], rs["Rust"], sql["SQL"]
curve a["Ana"]{90, 70, 40, 30, 80}
curve b["Ben"]{50, 90, 70, 60, 60}
max 100
min 0
Result
---
title: "Language skills"
---
radar-beta
axis js["JS"], py["Python"], go["Go"], rs["Rust"], sql["SQL"]
curve a["Ana"]{90, 70, 40, 30, 80}
curve b["Ben"]{50, 90, 70, 60, 60}
max 100
min 0Syntax quick reference
- Axes:
axis id["Label"], .... - Each series:
curve id["Name"]{v1, v2, ...}, one value per axis. - Set the scale with
minandmax.
How to use it
- Open the example in the editor, or paste your own Mermaid code.
- Edit the code on the left. The preview updates as you type, and errors point to the line.
- Export SVG or PNG, copy a Markdown block for GitHub or Notion, or copy a share link.