Closed adeldaoud closed 7 years ago
Hi, thanks.
The short answer is no, you can't do that with alluvial
. The short answer to "why?" is
alluvial
is to generalize parallel axis plot to categorical variables.alluvial
needs richer data than that.If "networkD3" does not fill your bill you may try "riverplot" from https://logfc.wordpress.com/2014/02/27/riverplot/
Hi
Thanks for a great package, first of all.
I wonder if it is possible for some ribbons to “by-pass” some categories along the way (from left to right)? For example, the networkD3 package has this functionality (https://christophergandrud.github.io/networkD3/), see specifically the sankeyNetwork example with the Energy example (code copied into here).
Notice, for instance, how the “Oil import” category flows via the “Oil” category, but by-passes the “Thermal generation” category. Is this possible to achieve with the alluvial package?