plouc / nivo

nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
https://nivo.rocks
MIT License
13.15k stars 1.03k forks source link

Vertical Sankey #437

Closed cl-evgenyb-rnd closed 5 years ago

cl-evgenyb-rnd commented 5 years ago

Is there an easy way to rotate the Sankey diagram 90 degrees?

Something like this: image

plouc commented 5 years ago

Not for now, but it could be interesting to have, however your example is more a dendogram (which is a work in progress).

gpalrepo commented 3 years ago

Listing here for the convenience of someone else who might have had a similar need: Nivo now supports vertical layouts for Sankey diagrams. Include a layout prop and pass either "vertical" or "horizontal" into it.