Data Visualization
Tree Diagram Generator
Generate interactive tree diagrams from hierarchical data with customizable styling
html· HTML resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/tree-diagram-generator' \
-H 'Content-Type: application/json' \
-d '{"treeData":"JSON: [{"name": "Root", "value": 100,\n "children": [\n {"name": "Branch 1", "value": 50},\n {"name": "Branch 2", "value": 30}\n ]\n}]\n\nor text:\nRoot:100\nRoot:Branch 1:50\nRoot:Branch 2:30","chartTitle":"Enter chart title...","nodeShape":"circle","nodeColor":"#3b82f6","nodeTextColor":"#ffffff","lineColor":"#6b7280","backgroundColor":"#ffffff","nodeSize":"40","fontSize":"12","lineWidth":"2","chartHeight":"600","showLabels":true,"showValues":true}'