Radar Chart

Values of several series on axes spread around a centre — compare profiles, skills or ratings at a glance. Drawn as SVG by the component, rendered on the server and themed by the design tokens.

Part of @tectra-ng/charts (npm install @tectra-ng/charts, also included in tectra-ng).

Features12APIThemingAccessibility

Basic

Each series is a filled polygon over the grid rings. Hover a slice of the chart: its axis lights up, every series gets a marker on it and the tooltip lists the values.

Arrow keys move between values
Skills of two candidates. Radar chart, 2 series, 6 values, from 40 to 90
CategoryCandidate ACandidate B
Frontend9060
Backend5585
Testing7075
Design8040
Communication6570
Planning5080

Circle

shape="circle" draws round grid rings — a good fit for many axes such as months. markers turns the value points off.

Arrow keys move between values
Rainy days by month. Radar chart, 2 series, 12 values, from 1 to 19
CategoryNorthSouth
Jan189
Feb158
Mar147
Apr126
May114
Jun102
Jul91
Aug111
Sep133
Oct166
Nov188
Dec1910

Single

A single series has no legend; the tooltip still names it.

Arrow keys move between values
Page quality scores. Radar chart, 1 series, 5 values, from 64 to 96
CategoryScore
Speed72
Accessibility96
Best practices88
SEO91
Stability64

Scale

min, max and rings fix the scale — here a five-star rating with one ring per star. tooltipFormatter writes the values.

Arrow keys move between values
Ratings of three laptops. Radar chart, 3 series, 5 values, from 2.5 to 5
CategoryLaptop 13"Laptop 14"Laptop 16"
Battery4.543
Screen44.55
Keyboard3.54.54
Weight542.5
Price33.52.5

Legend

The legend on the side with legendVariant="stat": each series shows its average, and the value on the focused axis while you hover. A click hides a series; hovering an item fades the others.

Arrow keys move between values
Team results by area. Radar chart, 2 series, 5 values, from 61 to 97
CategoryTeam NorthTeam South
Delivery8270
Quality7488
Support9076
Docs6184
Uptime9792

Events

pointClick reports the clicked axis with the series nearest to the pointer; seriesToggle reports legend changes.

Arrow keys move between values
Survey answers. Radar chart, 2 series, 5 values, from 52 to 81
CategoryThis yearLast year
Onboarding7870
Search6458
Checkout8174
Support7275
Mobile6952

Click an axis or a legend item.

Loading and empty

loading keeps the size with a skeleton; empty series (or only null values) show "No data".

No data

Live

Changing series, shape or fill redraws in place — the polygons morph to their new shape.

Arrow keys move between values
Shuffled profile. Radar chart, 2 series, 6 values, from 30 to 99
CategoryBeforeAfter
Strength3049
Speed5372
Agility7695
Stamina9948
Focus5271
Balance7594

Accessibility

Tab to the chart: ←/→ move between the axes, ↑/↓ between the series, Home / End jump to the first and last axis, Escape closes the tooltip. Each value is announced; screen readers also get a summary and a hidden data table.

Arrow keys move between values
Course feedback. Radar chart, 2 series, 5 values, from 3.6 to 4.6
CategorySpringAutumn
Content4.24.4
Pace3.64.1
Exercises4.54.3
Support3.94.6
Tools4.13.8

Design tokens

dt sets the line width, the fill, the points, the axis labels and the palette of one chart.

Arrow keys move between values
Flavour profile. Radar chart, 1 series, 5 values, from 2 to 7
CategoryFlavour
Sweet6
Sour3
Bitter7
Salty2
Umami5

Pass through

pt reaches the parts — area, line, marker, ring, axisLine, axisLabel, grid, legend, plot, tooltip and more.

Arrow keys move between values
Plan and fact. Radar chart, 2 series, 5 values, from 32 to 72
CategoryPlanFact
North5055
East4032
South4547
West3541
Online6072

Unstyled

unstyled removes the tectra styles: no grid colours, no fonts, no motion — the geometry, the colours of the series, the tooltip and the keyboard stay, ready for your own CSS.

Arrow keys move between values
Unstyled chart. Radar chart, 1 series, 5 values, from 3 to 8
CategoryValues
A5
B8
C3
D6
E7