Data Visualization
Générateur de Diagramme Sankey
Générer des diagrammes Sankey pour visualiser les distributions de flux et les transferts d'énergie entre différents nœuds
html· Résultat HTMLOuvrir l'outil
Démarrage rapide
Appelez cet outil depuis votre code en trois langages.
cURL
curl -X POST 'https://api.elysiatools.com/fr/api/tools/sankey-diagram-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"Simple example (2 nodes):\n{\n "nodes": [{"id": "source", "name": "Source", "value": 100}, {"id": "target", "name": "Target", "value": 100}],\n "links": [{"source": "source", "target": "target", "value": 100}]\n}\n\nOr 3 nodes:\n{\n "nodes": [{"id": "input", "name": "Input", "value": 100}, {"id": "process", "name": "Process", "value": 75}, {"id": "output", "name": "Output", "value": 75}],\n "links": [{"source": "input", "target": "process", "value": 75}, {"source": "process", "target": "output", "value": 75}]\n}","chartTitle":"Entrez le titre du graphique...","nodeColors":"#1e40af,#dc2626,#16a34a,#ca8a04,#7c3aed,#0891b2","linkColors":"#3b82f6,#ef4444,#22c55e,#eab308,#a855f7,#06b6d4","chartWidth":"800","chartHeight":"500","nodeWidth":"30","nodePadding":"30","backgroundColor":"#ffffff","showValues":true,"showLabels":true,"animated":true}'