Charts
Concentric Ring Chart
Concentric Ring Chart: Nested progress rings that sweep to their own percentage on mount and share a live center total, like a multi-dial gauge.
Using Concentric Ring Chart
Concentric Ring Chart uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
strokeWidth | number | 14 | From 6 to 28; step 1 |
ringGap | number | 6 | From 0 to 16; step 1 |
accent | color | #7C5CFF | No additional limit in the metadata. |
animationSpeed | number | 1100 | From 400 to 2400; step 100 |
showCenterLabel | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Concentric Ring Chart?
Concentric Ring Chart is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Concentric Ring Chart depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Concentric Ring Chart?
The React source for Concentric Ring Chart includes: native elements (button); attributes and handlers (aria-hidden, aria-label); explicit roles (img). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Concentric Ring Chart handle reduced motion?
Concentric Ring Chart reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduceMotion ? 0.05 : 0.5; reduceMotion ? 0.05 : animationSpeed / 1000; reduceMotion ? false : { opacity: 0, scale: 0.95 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.