visx icon indicating copy to clipboard operation
visx copied to clipboard

Support Sankey layout

Open techniq opened this issue 6 years ago • 8 comments

  • https://github.com/d3/d3-sankey
  • https://github.com/tomshanley/d3-sankey-circular
  • https://github.com/ricklupton/d3-sankey-diagram
    • https://ricklupton.github.io/d3-sankey-diagram/
    • https://bl.ocks.org/tomshanley/b82d9aede85694b1422786ef41536ec5
    • http://blockbuilder.org/tomshanley/6f3fcf68c0dbc401548733dd0c64e3c3
    • http://blockbuilder.org/tomshanley/c4ed08a828b77a0115f8897f1e246b05
    • https://bl.ocks.org/tomshanley/874923fe54b173735b456479423ac7d6

Examples

  • https://bost.ocks.org/mike/sankey/
  • http://bl.ocks.org/NPashaP/cd80ab54c52f80c4d84cad0ba9da72c2
  • https://bl.ocks.org/austinczarnecki/cc6371af0b726e61b9ab
  • http://bl.ocks.org/Neilos/584b9a5d44d5fe00f779
  • https://plot.ly/javascript/sankey-diagram/
  • Sankey from csv with d3.js

techniq avatar Nov 06 '17 15:11 techniq

Beginning support / example: https://codesandbox.io/s/njvoqwj24

Based on d3-sankey-circular, although d3-sankey-diagram had some nice features

techniq avatar Jan 20 '18 07:01 techniq

Been tracking the progress of d3-sankey-circular in hopes to only use it for both circular and non-circular sankey layouts, but just logged an issue regarding handling of nodePadding and general layout.

techniq avatar Jun 14 '18 18:06 techniq

Hi, how's going about this issue? Maybe I can provide some help if needed, because I'm familiar the d3-sankey API. 😆

BTW, I think sankey diagram designed for flow data, and flow data generally is non-circular. 👀

geekplux avatar Sep 22 '18 13:09 geekplux

Is there any plan to include this? We really like the look of this library but we really need a sankey diagram.

MichaelBurgess avatar Jun 10 '21 13:06 MichaelBurgess

I don't currently have the bandwidth to add this, but would happily review a PR / help someone add a new @visx/sankey package if there is interest/initiative.

williaster avatar Jun 10 '21 21:06 williaster

Any thoughts/plans on this? 🤔

andreyvital avatar Mar 02 '23 20:03 andreyvital

Would also love to know if there's been an update on this

mswilliamson avatar Mar 07 '23 13:03 mswilliamson

Again happy to review a PR if someone wants to add in @visx/sankey based on d3-sankey

williaster avatar Mar 07 '23 19:03 williaster