Charts
Outside Value Pie
Outside Value Pie: A solid pie chart with bare numbers floating just outside each slice, positioned so every label reads outward from the centre with no connecting lines.
Using Outside Value Pie
Outside Value Pie 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 |
|---|---|---|---|
accent | color | #7C5CFF | No additional limit in the metadata. |
hueRange | number | 90 | From 20 to 180; step 5 |
labelOffset | number | 16 | From 4 to 32; step 2 |
valueFormat | select | count | Options: count, percent |
gap | number | 1 | From 0 to 6; step 0.5 |
Which frameworks are available for Outside Value Pie?
Outside Value Pie 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 Outside Value Pie depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Outside Value Pie?
The React source for Outside Value Pie includes: attributes and handlers (aria-hidden, aria-label, aria-live, onKeyDown, tabIndex); explicit roles (button, group); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Outside Value Pie handle reduced motion?
Outside Value Pie reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Preference-dependent expressions in index.tsx: reduce ? 360 : 0; transform: isActive && !reduce ? `translate(${dx.toFixed(2)}px, ${dy.toFixed(2)}px)` : undefined; transition: reduce ? undefined : "opacity 320ms ease, font-weight 140ms ease, fill-opacity 160ms ease". Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.