There is an exciting application that uses d3.js sankey-circular.js. However, the way to create json data is very complicated.
- The goal is to automatically generate a sankey diagram from a csv or spreadsheet.
- and also to create a sankey diagram by copying a spreadsheet table to the clipboard and running this program.
It uses a library created in C++ and imported as a library from python. The reason for this is that file and string manipulation is much easier in python.
$ pip install csankey
$ pip uninstall csankey
- python3.3 later.
- Windows
- Linux
- Mac OSX
Checked Browser | Result |
---|---|
Chrome(95.0.4638.69) | OK |
Edge(95.0.1020.40) | OK |
Firefox | ?Unknown |
IE | ?Unknown |
Opera | ?Unknown |
Safari | ?Unknown |
TODO
TODO
TODO
- https://d3js.org/d3.v4.min.js
- https://bl.ocks.org/tomshanley/raw/6f3fcf68c0dbc401548733dd0c64e3c3/d3-sankey-circular.js
- https://www.npmjs.com/package/@riversun/sortable-table sortable-table.js copyright riversun
- https://github.com/kirin123kirin/csv-parser/parser.hpp copyright kirin123kirin