Data viz Gauge

Components

Gauge

A circular meter for a value within a known range.

Gauge

32%
68%
91%

Color scale

24%
61%
88%

Default color scale maps the value across success → warning → error. Pass a colors map (custom color range) to override the thresholds.

Custom range & secondary

74%
50%

Left: custom color range via a gradient stroke. Right: custom secondary color tints the unfilled arc. With arcPriority="equal" both arcs share equal weight so 50% reads as exactly half.

Indeterminate

Indeterminate spins continuously — pair it with copy like “Calculating usage…” so the spin reads as loading, not zero.

Markdown for agents: /design/gauge.md · spec: /design.md