Skip to content
Menu

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.

ControlTypeDefaultPreview limits
accentcolor#7C5CFFNo additional limit in the metadata.
hueRangenumber90From 20 to 180; step 5
labelOffsetnumber16From 4 to 32; step 2
valueFormatselectcountOptions: count, percent
gapnumber1From 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.

Connect your agent

Related open components