Donut Chart Generator
Generate customizable donut charts (ring charts) from data with various styling options, perfect for showing proportions with a central space
API Documentation
Request Endpoint
POST /en/api/tools/donut-chart-generator
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the donut chart. Supports JSON array or simple label:value text format |
| chartTitle | text | No | Title that will be displayed above the chart |
| colorScheme | select | No | - |
| centerText | text | No | Text to display in the center of the donut (when showing total) |
| chartSize | number | No | Size of the square chart in pixels |
| innerRadius | number | No | Inner radius of the donut in pixels (leave empty for auto) |
| outerRadius | number | No | Outer radius of the donut in pixels (leave empty for auto) |
| startAngle | number | No | Starting angle in degrees (0 = top, 90 = right) |
| backgroundColor | color | No | Background color for the chart container |
| showPercentage | checkbox | No | Display percentages on the chart slices |
| showLegend | checkbox | No | Display a legend below the chart |
| showLabels | checkbox | No | Display labels or percentages directly on the donut slices |
| showTotalInCenter | checkbox | No | Display the total value in the center of the donut |
| explodeSlices | checkbox | No | Separate slices from each other for emphasis |
Response Format
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-donut-chart-generator": {
"name": "donut-chart-generator",
"description": "Generate customizable donut charts (ring charts) from data with various styling options, perfect for showing proportions with a central space",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=donut-chart-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]