mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-03 15:46:43 +02:00
26 lines
522 B
TypeScript
26 lines
522 B
TypeScript
import type { DiagramMetadata } from '../types.js';
|
|
|
|
export default {
|
|
id: 'radar',
|
|
name: 'Radar Diagram',
|
|
description: 'Visualize data in a radial format',
|
|
examples: [
|
|
{
|
|
title: 'Student Grades',
|
|
isDefault: true,
|
|
code: `---
|
|
title: "Grades"
|
|
---
|
|
radar-beta
|
|
axis m["Math"], s["Science"], e["English"]
|
|
axis h["History"], g["Geography"], a["Art"]
|
|
curve a["Alice"]{85, 90, 80, 70, 75, 90}
|
|
curve b["Bob"]{70, 75, 85, 80, 90, 85}
|
|
|
|
max 100
|
|
min 0
|
|
`,
|
|
},
|
|
],
|
|
} satisfies DiagramMetadata;
|