RadarChart
Charts

RadarChart

Radial chart comparing several series across the same set of variables, such as security posture, skill matrices, or benchmark scores.

Component behavior

RadarChart plots each series as a polygon over shared axes. Overlaid polygons show relative strengths and weaknesses across dimensions; they do not communicate exact values.

Use cases
  • A few records compared across the same numeric dimensions.
  • Current-versus-target or before-and-after profiles.
  • Comparisons of multivariable profiles.
Alternatives

BarChart: exact magnitudes on one dimension must be compared.

ParallelCoordinates: the dataset has many records or dimensions.

BulletChart: metrics have separate targets and scales.

Props

axes sets the spokes, clockwise from the top; each RadarSeries supplies one value per axis in the same order. All values share a single domain (the outer ring), so the dimensions must be on comparable scales (normalise to 0–100 first if they are not).

RadarChartProps props
PropTypeDefaultDescription
axesstring[]—Axis labels, clockwise from the top. Their count sets the number of spokes.
seriesRadarSeries[]—Each series has a label, one value per axis (in axis order), and an optional color; missing colors draw from the palette.
sizenumber260Width and height of the square web, in pixels.
maxnumber—Value at the outer ring. Defaults to a rounded ceiling over the data.
levelsnumber4Number of concentric grid rings.
noLegendboolean—Hide the legend. Shown by default when there is more than one series.

Examples

Current vs target

Two overlaid polygons; hover the legend to isolate one.

RadarChart
ImportTSX
import { RadarChart } from "@solarius/onset";
import type { RadarSeries } from "@solarius/onset";