Radar Chart
Source: Data Visualisation Catalogue - Radar Chart
Why This Belongs In The Compiler Gallery
Radar charts are the simplest useful polar-axis chart left in the catalogue set. They prove the compiler can generate radial axes, guide rings, and closed multivariate profile polygons from raw metric rows.
Data Contract
Each raw row is one series/metric score.
| Field | Type | Purpose |
|---|---|---|
region | categorical | Profile series and legend key. |
metric | ordinal | Radial axis. |
score | quantitative | Distance from center on the metric axis. |
pathD | text, derived | Generated closed polygon or ring path. |
x, y | quantitative, derived | Vertex point coordinates. |
axisIndex | quantitative, derived | Stable metric order for path construction. |
Compiler Mapping
| Compiler part | Mapping |
|---|---|
| Data source | scores raw metric rows, derived radar-axes, radar-rings, radar-polygons, and radar-points. |
| Transform | layout with layoutKind: "radarAxes", "radarRings", "radarPolygons", and "radarPoints". |
| Scales | color: ordinal(series). |
| Layers | Ring paths, radial axis lines, axis labels, closed profile paths, and vertex points. |
| Guides | Compiler-generated guide rings, radial axes, and color legend. |
Faithfulness Notes
The core radar anatomy is compiler-owned now. Remaining work is a general polar coordinate system, label collision policies, axis title placement, and optional filled/outlined profile styling presets.