Variable: Pie
constPie:FC<PieChartProps>
Defined in: components/Pie/index.tsx:138
Component
Pie
Description
A component to render a pie chart from a data array.
Param
The component props.
Returns
The rendered Pie chart SVG.
Example
<Pie data={[{ percentage: 50, color: 'red' }, { percentage: 50, color: 'blue' }]} />