generate_pie_chart
Create pie charts to visualize proportions like market share or budget allocation. Input data, customize titles, and enable donut charts for clear, structured data representation.
Instructions
Generate a pie chart to show the proportion of parts, such as market share and budget allocation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
axisXTitle | No | Set the x-axis title of chart. | |
axisYTitle | No | Set the y-axis title of chart. | |
data | Yes | data for pie chart, (such as, [{category: string; value: number }]) | |
innerRadius | No | Set the pie chart as a donut chart. Set the value to 0.6 to enable it. | |
title | No | Set the chart title. |