Sankey diagram in javascript

前端 未结 7 844
灰色年华
灰色年华 2021-02-02 16:22

I want to draw a Sankey diagram using Javascript. Can anyone provide some direction regarding the algorithms or libraries that are available for this?

7条回答
  •  温柔的废话
    2021-02-02 16:51

    In case helpful to others: I've extracted my javascript sankey diagram drawing code here:

    http://tamc.github.com/Sankey/

    The original usage is on this UK government site:

    http://2050-calculator-tool.decc.gov.uk/pathways/2022222122222103332220023211022330220130233022012/sankey

提交回复
热议问题