Data Visualization
Create concentric multi-level pie charts with hierarchical relationships and interactive drill-down functionality
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/multi-level-pie-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartTitle":"Enter chart title...","hierarchicalData":"JSON format example:\n{\n "Technology": {\n "Software": {\n "Frontend": 150,\n "Backend": 200,\n "Database": 100\n },\n "Hardware": {\n "Servers": 80,\n "Network": 60\n }\n },\n "Marketing": {\n "Digital": 120,\n "Traditional": 80\n }\n}","innerRadius":"30","outerRadius":"180","colorScheme":"default","startAngle":"0","endAngle":"360","maxDepth":"3","centerLabel":"Total","strokeWidth":"2","showLabels":true,"showValues":false,"showPercentages":false,"enableDrillDown":true,"fontSize":"12","titleSize":"18","fontFamily":"Arial","chartWidth":"800","chartHeight":"600","backgroundColor":"#ffffff","animationEnabled":true,"animationDuration":"1000"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/multi-level-pie-chart-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartTitle | text | No | Title that will be displayed above the chart |
| hierarchicalData | textarea | Yes | Hierarchical data as nested JSON object with numeric values at leaf nodes |
| innerRadius | number | No | Inner radius of the innermost circle in pixels |
| outerRadius | number | No | Outer radius of the outermost circle in pixels |
| colorScheme | select | No | — |
| startAngle | number | No | Starting angle in degrees (0-360) |
| endAngle | number | No | Ending angle in degrees (0-360) |
| maxDepth | number | No | Maximum number of levels to display |
| centerLabel | text | No | Text to display in the center of the chart |
| strokeWidth | number | No | Width of borders between segments in pixels |
| showLabels | checkbox | No | Display segment labels |
| showValues | checkbox | No | Display segment values |
| showPercentages | checkbox | No | Display percentage values |
| enableDrillDown | checkbox | No | Enable interactive drill-down functionality |
| fontSize | number | No | Font size for labels and values |
| titleSize | number | No | Font size for the chart title |
| fontFamily | text | No | Font family for text elements |
| chartWidth | number | No | Width of the chart in pixels |
| chartHeight | number | No | Height of the chart in pixels |
| backgroundColor | color | No | Background color of the chart |
| animationEnabled | checkbox | No | Animate the chart when it loads |
| animationDuration | number | No | Animation duration in milliseconds |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-multi-level-pie-chart-generator": {
"name": "multi-level-pie-chart-generator",
"description": "Create concentric multi-level pie charts with hierarchical relationships and interactive drill-down functionality",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=multi-level-pie-chart-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "multi-level-pie-chart-generator",
"arguments": {
"chartTitle": "Enter chart title...",
"hierarchicalData": "JSON format example:\n{\n "Technology": {\n "Software": {\n "Frontend": 150,\n "Backend": 200,\n "Database": 100\n },\n "Hardware": {\n "Servers": 80,\n "Network": 60\n }\n },\n "Marketing": {\n "Digital": 120,\n "Traditional": 80\n }\n}",
"innerRadius": "30",
"outerRadius": "180",
"colorScheme": "default",
"startAngle": "0",
"endAngle": "360",
"maxDepth": "3",
"centerLabel": "Total",
"strokeWidth": "2",
"showLabels": true,
"showValues": false,
"showPercentages": false,
"enableDrillDown": true,
"fontSize": "12",
"titleSize": "18",
"fontFamily": "Arial",
"chartWidth": "800",
"chartHeight": "600",
"backgroundColor": "#ffffff",
"animationEnabled": true,
"animationDuration": "1000"
}
}
}Questions or issues? Contact [email protected]