nsidc / usaon-vta-webapp

Sankey diagrams to show value flows from observing system to data products to vital signs and societal benefits
MIT License
0 stars 0 forks source link

Select a tool/method for generating Sankey diagrams #9

Open MattF-NSIDC opened 1 year ago

MattF-NSIDC commented 1 year ago

An example webapp using d3 with draggable elements and own custom format for defining nodes and connections:

https://sankeymatic.com/build/ https://github.com/nowthis/sankeymatic

MattF-NSIDC commented 1 year ago

An example webapp using d3 with draggable elements and JSON import/export.

http://sankey-diagram-generator.acquireprocure.com/

I don't see a GitHub link but the "credits" copy says that the code isn't minified or uglified. We could analyze in the browser.

MattF-NSIDC commented 1 year ago

Google Charts uses D3 (https://developers.google.com/chart/interactive/docs/gallery/sankey) with no support for positioning elements or attributes on nodes.

MattF-NSIDC commented 1 year ago

Highcharts supports Sankey diagrams: https://www.highcharts.com/demo/sankey-diagram

Features:

Not supported

MattF-NSIDC commented 1 year ago

Plotly JS supports Sankey diagrams: https://plotly.com/javascript/sankey-diagram/

Features:

MattF-NSIDC commented 1 year ago

Official D3 Sankey example: https://d3-graph-gallery.com/graph/sankey_basic.html

MattF-NSIDC commented 1 year ago

GoJS is a Javascript library with Sankey support that's priced fairly exorbitantly https://gojs.net/latest/samples/sankey.html

MattF-NSIDC commented 1 year ago

Useful example of recursive highlighting selected node in D3: http://bl.ocks.org/git-ashish/8959771

:weary: this is clearly a Gist that's been mirrored by another site. How to find the original Gist?

jwfuller commented 1 year ago

Original https://gist.github.com/git-ashish/8959771