Data Visualization
Generate interactive icicle charts for hierarchical data visualization, perfect for displaying tree structures, file systems, and organizational hierarchies
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/icicle-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"JSON format:\n{\n "name": "Root",\n "value": 100,\n "children": [\n {\n "name": "Branch A",\n "value": 60,\n "children": [\n {"name": "Leaf A1", "value": 30},\n {"name": "Leaf A2", "value": 30}\n ]\n }\n ]\n}","chartTitle":"Enter chart title...","colorScheme":"ocean","customColors":"[\"#FF6B6B\", \"#4ECDC4\", \"#45B7D1\", \"#96CEB4\"]","valueFormat":"number","chartWidth":"600","chartHeight":"500","startLevel":"0","maxDepth":"3","labelSize":"12","paddingSize":"2","borderRadius":"4","strokeWidth":"1","backgroundColor":"#ffffff","strokeColor":"#ffffff","showLabels":true,"showValues":true,"showPercentages":false,"enableTooltip":true,"chartOrientation":"horizontal","hoverAnimation":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/icicle-chart-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Hierarchical data in JSON format with name, value, and optional children arrays |
| chartTitle | text | No | Title that will be displayed above the chart |
| colorScheme | select | No | — |
| customColors | textarea | No | JSON array of hex colors (requires Custom Colors selection) |
| valueFormat | select | No | — |
| chartWidth | number | No | Width of the chart in pixels (min: 400, max: 1200) |
| chartHeight | number | No | Height of the chart in pixels (min: 300, max: 800) |
| startLevel | number | No | Starting level to display (0 = root level) |
| maxDepth | number | No | Maximum number of levels to display |
| labelSize | number | No | Font size for labels in pixels (min: 8, max: 16) |
| paddingSize | number | No | Spacing between rectangles in pixels (min: 0, max: 10) |
| borderRadius | number | No | Corner radius for rectangles in pixels (min: 0, max: 8) |
| strokeWidth | number | No | Border width for rectangles in pixels (min: 0, max: 3) |
| backgroundColor | color | No | Background color for the chart container |
| strokeColor | color | No | Border color for rectangles |
| showLabels | checkbox | No | Display category names inside rectangles |
| showValues | checkbox | No | Display values inside rectangles |
| showPercentages | checkbox | No | Show percentages instead of absolute values |
| enableTooltip | checkbox | No | Show detailed information on hover |
| chartOrientation | select | No | — |
| hoverAnimation | checkbox | No | Animate rectangles on hover |
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-icicle-chart-generator": {
"name": "icicle-chart-generator",
"description": "Generate interactive icicle charts for hierarchical data visualization, perfect for displaying tree structures, file systems, and organizational hierarchies",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=icicle-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": "icicle-chart-generator",
"arguments": {
"chartData": "JSON format:\n{\n "name": "Root",\n "value": 100,\n "children": [\n {\n "name": "Branch A",\n "value": 60,\n "children": [\n {"name": "Leaf A1", "value": 30},\n {"name": "Leaf A2", "value": 30}\n ]\n }\n ]\n}",
"chartTitle": "Enter chart title...",
"colorScheme": "ocean",
"customColors": "[\"#FF6B6B\", \"#4ECDC4\", \"#45B7D1\", \"#96CEB4\"]",
"valueFormat": "number",
"chartWidth": "600",
"chartHeight": "500",
"startLevel": "0",
"maxDepth": "3",
"labelSize": "12",
"paddingSize": "2",
"borderRadius": "4",
"strokeWidth": "1",
"backgroundColor": "#ffffff",
"strokeColor": "#ffffff",
"showLabels": true,
"showValues": true,
"showPercentages": false,
"enableTooltip": true,
"chartOrientation": "horizontal",
"hoverAnimation": true
}
}
}Questions or issues? Contact [email protected]