2

I adopted the trick from

d3 sankey charts - manually position node along x axis

to manually control the x-position of my nodes. But many of the links end up crossing over each other: enter image description here

(I set the node widths to zero). I know a Sankey diagram with no link overlaps can be achieved, because the data corresponds to a dendrogram.

Increasing the number of iterations in the .layout(...) command does not solve the problem. Can someone please help?

Community
  • 1
  • 1
user3433489
  • 911
  • 2
  • 10
  • 24

0 Answers0