Sankey diagram builder
A Amcharts4/React app to build and visualize Sankey diagrams:
- amcharts v4 core runs all the calculation
- React handles state and renderings.
Install npm dependencies:
npm i
launch the application:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser and use the Sankey Diagram Builder App.
The page will reload if you make edits.You will also see any lint errors in the console.
You can import/export sankey diagrams using the following
[
{
"from": "B",
"to": "D",
"value": "8"
},
{
"from": "D",
"to": "C",
"value": "4"
}
]
from,to,value
B,D,8
D,C,4
Also you can add a column with a custom unique id
- Build a hierarchy
- Customize graph nodes and links (choose a color and click on the element with the left mouse button)
- Add/remove nodes (double click with the left mouse button)
- Change links thickness (mouse wheel rotation)
- Reposition nodes (left mouse button grab)
- Display node IDs
- Upload/download chart in many formats