A worked example, rendered from real sample data. Sign in to run the tool on your own input.
Source,Target,Value
A,B,10
A,C,5
B,D,8{
"title": "Sankey Diagram",
"nodes": [
{
"id": "node0",
"name": "Source"
},
{
"id": "node1",
"name": "Target"
},
{
"id": "node2",
"name": "A"
},
{
"id": "node3",
"name": "B"
},
{
"id": "node4",
"name": "C"
},
{
"id": "node5",
"name": "D"
}
],
"flows": [
{
"source": "Source",
"target": "Target",
"value": null
},
{
"source": "A",
"target": "B",
"value": 10
},
{
"source": "A",
"target": "C",
"value": 5
},
{
"source": "B",
"target": "D",
"value": 8
}
],
"totalValue": null
}
Generate Sankey diagrams to visualize flow and distribution of data. Part of the DevTools Surf developer suite. Browse more tools in the Data / SQL collection.