Data Visualization
Generate pyramid charts for hierarchical structure visualization, perfect for organization charts, hierarchy levels, and proportional data
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/pyramid-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"JSON format:\n[{"label": "Leadership", "value": 15},\n{"label": "Management", "value": 25},\n{"label": "Employees", "value": 60}]\n\nor text format:\nLeadership:15\nManagement:25\nEmployees:60","chartTitle":"Enter chart title...","pyramidStyle":"triangle","pyramidDirection":"bottom-heavy","colorScheme":"default","chartSize":"500","fontSize":"14","animationDuration":"1000","labelPosition":"inside","backgroundColor":"#ffffff","showValues":true,"showPercentages":true,"showLabels":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/pyramid-chart-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the pyramid chart. Supports JSON array or simple label:value text format |
| chartTitle | text | No | Title that will be displayed above the chart |
| pyramidStyle | select | No | — |
| pyramidDirection | select | No | — |
| colorScheme | select | No | — |
| chartSize | number | No | Size of the square chart in pixels |
| fontSize | number | No | Size of the labels in pixels |
| animationDuration | number | No | Duration of the animation in milliseconds |
| labelPosition | select | No | — |
| backgroundColor | color | No | Background color for the chart container |
| showValues | checkbox | No | Display absolute values on the pyramid |
| showPercentages | checkbox | No | Display percentage values on the pyramid |
| showLabels | checkbox | No | Display labels on the pyramid |
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-pyramid-chart-generator": {
"name": "pyramid-chart-generator",
"description": "Generate pyramid charts for hierarchical structure visualization, perfect for organization charts, hierarchy levels, and proportional data",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pyramid-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": "pyramid-chart-generator",
"arguments": {
"chartData": "JSON format:\n[{"label": "Leadership", "value": 15},\n{"label": "Management", "value": 25},\n{"label": "Employees", "value": 60}]\n\nor text format:\nLeadership:15\nManagement:25\nEmployees:60",
"chartTitle": "Enter chart title...",
"pyramidStyle": "triangle",
"pyramidDirection": "bottom-heavy",
"colorScheme": "default",
"chartSize": "500",
"fontSize": "14",
"animationDuration": "1000",
"labelPosition": "inside",
"backgroundColor": "#ffffff",
"showValues": true,
"showPercentages": true,
"showLabels": true
}
}
}Questions or issues? Contact [email protected]