Skip to content

Gauge (Rings)

Composition

"How far along is each of these, against the same scale?" A gauge answers it with concentric rings, outer to inner: each ring sweeps value / max of a full circle clockwise from 12 o'clock over a background track. Hovering a ring activates it (emphasis + the built-in centre readout); defaultActive picks the resting ring, and a ring whose value is null renders its track only - "no data" without hiding the gauge.

Example
canvas · responsive
Go deeper: Insights guide·DevTools guide

Almost everything is configurable: ring thickness and gap, track colours and opacities per ring, start angle, rounded caps, per-ring arc opacity (for single-hue designs), and the centre label - swap it entirely with centerContent, or turn it off with showCenterLabel: false and drive your own overlay from onHighlightItem:

Example
canvas · responsive
Go deeper: Insights guide·DevTools guide

Rings share one scale (max, default 100). For values on different scales, normalize first - or reach for a comparable bar, which reads absolute values more precisely.

When to reach for it

  • Share-of-market rings. One product's share of nested scopes (world, region, market) in a single compact figure.
  • Progress / KPI rings. Activity-tracker style: one hue with per-ring opacity steps, roundedCaps, and a custom centre readout.

Renderers

renderer: "svg" (default), "canvas" (the same rings on a 2D canvas; consumer CSS still reaches the arcs through the colour probe), or "webgpu" Experimental (annulus band strips on the GPU; falls back to canvas until the device is ready).