Wick Charts
import { PieSeries } from '@wick-charts/react';
 
<PieSeries data={pieData} />

Pie chart series. Set options.innerRadiusRatio > 0 for donut.

Renders a pie or donut chart. Slices animate on enter/exit, support hover lift, and optionally show inline labels at the slice midpoints. Use <PieLegend> and <PieTooltip> for accompanying overlays.

Props

dataPieSliceData[]

Slices to render. A flat array of { label, value, color? } entries.

labelstring

Slice name. Shown in the legend and the slice tooltip.

valuenumber

Slice magnitude. Sums across slices determine each one's share of the pie.

color?string

Override colour for this slice. Falls back to the seriesColors palette.

options?Partial<PieSeriesOptions>

Visual options override — palette, donut hole, slice gap, label rendering, hover/entrance animations.

id?string

Stable series ID — same value across remounts.