Is it possible to make a sankey plot that looks like this in R
?
I've played around with the networkD3
package, which works great if the sum of input = sum of output for each node, but I need a solution which supports bands/links that change in size between time periods.
As far as I can work out, networkD3
does not allow me to do this because you must specify the links with a single value (links have a fixed width/value).
Is there anything out there, preferably for R
, that can do this?