Skip to main content
RadarChart plots data across multiple axes radiating from a center point, forming a spider-web shape. Each ChartSeries becomes a filled polygon, making it easy to compare profiles across categories.

Basic Usage

Minimal

Hide the polar grid for a cleaner look.

Lines Only

Set filled=False to render outlines without filled polygons, which can be easier to read when comparing multiple series.

API Reference

RadarChart Parameters

data
list[dict] | str
required
Data as a list of dicts, or a {{ field }} interpolation reference.
series
list[ChartSeries]
required
Series definitions — each becomes a filled polygon on the chart.
axis_key
str | None
default:"None"
Data key for angular axis labels.
height
int
default:"300"
Chart height in pixels.
filled
bool
default:"True"
Fill the area inside each series polygon.
show_dots
bool
default:"False"
Show a dot at each data point.
show_legend
bool
default:"False"
Show a legend below the chart.
show_tooltip
bool
default:"True"
Show tooltips on hover.
show_grid
bool
default:"True"
Show polar grid lines.
css_class
str | None
default:"None"
Additional Tailwind CSS classes.

ChartSeries Parameters

data_key
str
required
Data field to plot — must match a key in the data dicts.
label
str | None
default:"None"
Display label for legends and tooltips. Defaults to the data_key value.
color
str | None
default:"None"
CSS color override. By default, colors cycle through the theme’s chart palette (--chart-1 through --chart-5).

Protocol Reference

RadarChart
{
  "type": "RadarChart",
  "data": "Action[] | string (required)",
  "series": "[ChartSeries] (required)",
  "axisKey?": "string",
  "height?": "300",
  "filled?": true,
  "showDots?": false,
  "showLegend?": false,
  "showTooltip?": true,
  "showGrid?": true,
  "cssClass?": "string"
}
ChartSeries
{
  "dataKey": "string (required)",
  "label?": "string",
  "color?": "string"
}
For the complete protocol schema, see RadarChart, ChartSeries.