Skip to content

radar ​

Use for named spokes with a non-negative score (y ≥ 0). Keep spoke order. Optional series draws one polygon per series on one scale (max if it is at least the data max, otherwise max(y) or 1). A max below the data expands the scale so a spoke is not clipped. A missing spoke is a gap. A grouped bar is clearer when the reader needs the exact number. Negatives fail with E_NEGATIVE_VALUE.

Do not use for a single linear comparison (bar) or a time series (line).

x spoke · y number ≥ 0 · series optional

Rules. Keep order. One scale for every series: max if set and at least the data max, otherwise max(y) or 1. A missing spoke is a gap. Negatives → E_NEGATIVE_VALUE. A grouped bar is clearer when the reader needs the exact number.

Example ​

chart
markvis: 2
type: radar
title: Stage crew still leads box office on coverage
x: skill
y: score
series: crew

skill,crew,score
Speed,Stage,80
Range,Stage,72
Coverage,Stage,90
Speed,Box,64
Range,Box,70
Coverage,Box,58
Stage crew still leads box office on coverage radar chart. Stage crew still leads box office on coverage. x=skill. y=score. series=crew. 6 rows. Stage crew still leads box office on coverageStage crew still leads box office on coverage Stage Box Speed Range Coverage 50
Stage crew still leads box office on coverage
skillcrewscore
SpeedStage80
RangeStage72
CoverageStage90
SpeedBox64
RangeBox70
CoverageBox58

When the block is wrong ​

The rows stay, with one line that names the error.

chart
markvis: 2
type: radar
title: Negative spoke
x: skill
y: score

skill,score
Speed,80
Range,-10
skillscore
Speed80
Range-10

E_NEGATIVE_VALUE: radar values must be >= 0

Generated from packages/types/radar/ and the type's row in SPEC.md.

0.0.13 lives under legacy/