⚠️ You are viewing documentation for an older version of Compose SDK.
Version:
# Function PieChart
PieChart(
props):ReactElement<any,any> |null
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 |
# Returns
ReactElement< any, any > | null
Pie Chart component