# Function PieChart
PieChart(
props
,deprecatedLegacyContext
?):null
|ReactElement
<any
,any
>
A React component representing data in a circular graph with the data shown as slices of a whole, with each slice representing a proportion of the total.
# Example
Pie chart displaying total revenue per age range from the Sample ECommerce data model.
Additional Pie Chart examples:
# Parameters
Parameter | Type | Description |
---|---|---|
props | PieChartProps | Pie chart properties |
deprecatedLegacyContext ? | any | ::: warning Deprecated ::: See React Docs (opens new window) |
# Returns
null
| ReactElement
< any
, any
>
Pie Chart component