Skip to main content
Radar diagrams (also known as radar charts, spider charts, star charts, cobweb charts, polar charts, or Kiviat diagrams) provide a simple way to plot low-dimensional data in a circular format. They are commonly used to graphically summarize and compare the performance of multiple entities across multiple dimensions.
Radar diagrams are available in Mermaid v11.6.0+. Use the radar-beta keyword.

When to use radar charts

Radar charts are particularly useful for:
  • Comparing multiple entities across several dimensions
  • Displaying performance metrics
  • Showing skill assessments
  • Visualizing survey results
  • Comparing product features
  • Analyzing competitive positioning

Basic radar chart

This example compares student grades across multiple subjects:

Syntax overview

Basic structure

Title

Add a title using the title keyword:

Defining axes

Axes represent the dimensions being measured. Each axis needs an ID and optional label:

Single axis per line

Multiple axes per line

Example:

Defining curves

Curves represent the data for each entity being compared:

Positional values

Values correspond to axes in the order they were defined:

Key-value pairs

Explicitly map values to specific axes:

Multiple curves per line

Configuration options

Show legend

The legend is shown by default.

Min and max values

If not provided, max is calculated from data and min defaults to 0.

Graticule type

Options: circle (default) or polygon

Ticks

Number of concentric circles/polygons. Default is 5.

Complete examples

Restaurant comparison

Skills assessment

Product features

Advanced configuration

Configure using frontmatter:

Theme customization

Global variables

Radar charts support cScale${i} where i is 0 to max colors (usually 12).

Radar-specific variables

Styled example

Best practices

For effective radar charts:
  • Use 3-8 axes (too few or too many reduces clarity)
  • Keep scales consistent across axes
  • Use polygon graticule for angular data
  • Limit to 3-5 curves for readability
  • Ensure all values are non-negative
  • Order axes logically (related dimensions together)

Common use cases

Performance reviews

Market analysis

Radar charts are most effective when comparing entities with similar characteristics across the same set of dimensions. They work best with normalized or similarly-scaled data.