Data Visualization
文氏图生成器
生成可自定义的文氏图,用于可视化集合关系、包含关系和层次结构
html· HTML 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/euler-diagram-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"New simplified format:\n{\n "element": [\n {"name": "A", "count": 150},\n {"name": "B", "count": 120},\n {"name": "C", "count": 80}\n ],\n "Intersecting": [\n {"names": "A,B", "count": 50}\n ]\n}\n\nParent-child example (intersection equals smaller set):\n{\n "element": [\n {"name": "Animals", "count": 100},\n {"name": "Mammals", "count": 80}\n ],\n "Intersecting": [\n {"names": "Animals,Mammals", "count": 80}\n ]\n}\n\nor simple text format:\nA|150\nB|120\nC|80","chartTitle":"输入图表标题...","borderStyle":"solid","colorScheme":"default","customColors":"#3b82f6,#ef4444,#10b981","circleOpacity":"0.4","fontSize":"14","chartWidth":"700","chartHeight":"600","animationDuration":"1200","backgroundColor":"#ffffff","gridColor":"#f0f0f0","showGrid":false,"showLabels":true,"showValues":true,"showLegend":true}'