Components

Components

Component

A dependency-free SVG donut that can also be a half-ring gauge, drawn in the theme's chart colours with small gaps between slices. It sweeps in on mount, and the centre shows the total or the hovered slice's value and label. The legend lists each slice's value and share, and clicking an item hides that slice while the rest smoothly re-share the ring. A hovered slice moves outward while the others dim. The gauge can take a target, drawn as a tick on the ring with the distance to it in the centre. Legend buttons are the keyboard path, a hidden table carries the data for screen readers, and motion stops when reduced motion is on.

Dashboards · Chomodo Studio 0 likes 0 installs