I am trying to plot some flow diagrams using d3's sankey.js
.
I am stuck at arranging nodes x positions in the diagrams.
t2_a
should be in same column as t2_b
as they represent quantity from same time period. However by default this is placed at the end which gives wrong interpretation.
I can arrange manually for small number of nodes but its really difficult when number of nodes increase. Any help or suggestion would be highly appreciated.