mcp-server-chart

Official

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

NameRequiredDescriptionDefault
axisXTitleNoSet the x-axis title of chart.
axisYTitleNoSet the y-axis title of chart.
dataYesdata for pie chart, (such as, [{category: string; value: number }])
innerRadiusNoSet the pie chart as a donut chart. Set the value to 0.6 to enable it.
titleNoSet the chart title.

Input Schema (JSON Schema)

{ "properties": { "axisXTitle": { "description": "Set the x-axis title of chart.", "type": "string" }, "axisYTitle": { "description": "Set the y-axis title of chart.", "type": "string" }, "data": { "description": "data for pie chart, (such as, [{category: string; value: number }])", "items": { "properties": { "category": { "type": "string" }, "value": { "type": "number" } }, "required": [ "category", "value" ], "type": "object" }, "type": "array" }, "innerRadius": { "default": 0, "description": "Set the pie chart as a donut chart. Set the value to 0.6 to enable it.", "type": "number" }, "title": { "description": "Set the chart title.", "type": "string" } }, "required": [ "data" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-server-chart

Related Tools

ID: 5tk8m92plo