Make each spoke's unit, direction and fixed range explicit; preserve axis order and avoid treating polygon area as a score.
Radar charts: normalize metrics before comparing profiles
A profile is not a single measure
A radar chart places several ordered metrics on radial spokes and connects one entity's values into a closed profile. It can help a team notice that a delivery operation is strong on timeliness yet weak on geographic coverage. The polygon is a visual index into those separate measurements, not an aggregate score. Before drawing a spoke, state its unit, whether higher or lower is better, and the fixed comparison range. Plotting minutes, percentages and hours on one unnamed radial scale makes the shape meaningless. Use the same definition for every entity and reporting period. A metric called accuracy must retain its denominator and eligibility policy, while a latency metric must say which requests and percentile it covers. Grain and denominator rules, chart questions and dashboard provenance establish those inputs.
Normalize with a documented direction
For each metric, map its declared lower and upper bounds to a common zero-to-one scale. If higher is better, a value at the upper bound maps to one. If lower is better, a value at the lower bound maps to one. The worked contract rejects out-of-range values rather than clipping them without warning. A clipping policy can be useful in an operational dashboard, but a clipped marker must be distinguished from a true value at the boundary. Bounds should come from a versioned target or stable domain rule, not from each panel's current minimum and maximum. Otherwise the same raw value moves when a new peer arrives. Put the raw numbers and their units in the adjacent text table. A normalized 0.8 on delivery time means a position within a declared 15-to-75-minute range; it does not mean 80 percent of deliveries were on time. Axis integrity and bullet targets show the underlying value more directly.
Freeze spoke order and read shape cautiously
The order of spokes changes which values become adjacent and therefore changes the polygon's edges and area, even when the data stay identical. Pick an order by a declared operational grouping or a stable metric schema, then keep it across every panel and export. Repeat the first normalized value only to close the drawing path; do not count that repeated vertex as a sixth metric. A filled polygon can obscure another entity's outline, so compare few entities, label them directly and keep opacity low. Do not rank teams by enclosed area: area is affected by spoke order and radial transformation and has no defensible unit as an overall performance measure. If the goal is exact comparison across eight teams, a grouped dot plot or small multiples usually makes individual differences easier to read. Parallel coordinates handles more profiles, while small multiples avoids overlapping fills.
Make absent and inapplicable metrics visible
A missing accuracy rate should not be drawn at the center, because zero on the normalized axis denotes a measured value at the worst declared bound. Nor should a team with no eligible requests receive an invented score. Show an explicit gap, a separate missing marker, or omit the affected polygon with a reason; keep the metrics table complete. If a spoke is inapplicable to some entities, compare only a documented common metric set or separate those entities into another view. A trend panel should freeze ranges over time, or an apparent improvement can come solely from moving targets. Add text that identifies the largest raw differences and the sample sizes, then let readers inspect each metric separately. Missingness diagnostics, accessible alternatives and export manifests preserve that context.
Worked contract
from math import isfinite
def prepare_delivery_radar(metric_spec, readings):
if len(metric_spec) < 3:
raise ValueError("a radar profile needs at least three spokes")
metric_names = [name for name, _, _, _ in metric_spec]
if len(set(metric_names)) != len(metric_names) or set(readings) != set(metric_names):
raise ValueError("metrics must be unique and match the readings")
normalized = []
for name, lower, upper, direction in metric_spec:
value = readings[name]
numbers = (lower, upper, value)
if (not name or direction not in ("higher", "lower") or
any(isinstance(number, bool) or not isinstance(number, (int, float))
or not isfinite(number) for number in numbers) or
lower >= upper or not lower <= value <= upper):
raise ValueError(f"invalid range or reading for {name}")
fraction = (value - lower) / (upper - lower)
normalized.append(fraction if direction == "higher" else 1 - fraction)
return metric_names, normalized + normalized[:1]
delivery_metrics = [
("delivery_minutes", 15, 75, "lower"),
("accuracy_percent", 85, 100, "higher"),
("coverage_percent", 60, 100, "higher"),
("resolution_hours", 2, 14, "lower"),
]
delivery_readings = {"delivery_minutes": 27, "accuracy_percent": 94,
"coverage_percent": 88, "resolution_hours": 5}
spokes, closed_profile = prepare_delivery_radar(delivery_metrics, delivery_readings)
assert spokes == [name for name, _, _, _ in delivery_metrics]
assert [round(value, 2) for value in closed_profile] == [0.8, 0.6, 0.7, 0.75, 0.8]Performance and operating cost
For K metrics, validation and normalization take O(K) time and O(K) space. Rendering one profile adds K line segments; comparing E profiles adds O(EK) marks and may become unreadable well before computational cost matters. In the worked profile, 27 minutes on a 15-to-75-minute lower-is-better scale maps to 0.8; 94 percent accuracy on an 85-to-100-percent higher-is-better scale maps to 0.6. Coverage maps to 0.7, resolution time to 0.75, and the final 0.8 closes the path. These are four distinct metrics. No mean or area score is implied by the closing coordinate.
Common Mistakes
- Putting raw minutes, percentages and hours on one radial scale without per-spoke normalization.
- Recomputing each spoke's bounds from the current comparison group.
- Treating a polygon's enclosed area as a meaningful total score or ranking.
- Changing spoke order between entities and then comparing their outlines.
- Drawing missing or not-applicable metrics at normalized zero without a separate state.
Validation drill
Compare 47 delivery teams on four fixed metrics. Publish each metric's unit, direction, bounds, raw value and eligible population. Show only two profiles at once, keep spoke order fixed, and check the same comparison against a grouped dot plot before asking anyone to rank teams.
