How to get the vertically-oriented tree using d3.js

后端 未结 2 705
萌比男神i
萌比男神i 2020-12-30 12:25

The following url is going to get horizontally-oriented tree. My requirement is however to get a vertically-oriented tree using d3. Please suggest a proper valid solution

2条回答
  •  时光说笑
    2020-12-30 13:08

    I know its been a while since you asked the question, but just in case I would like to bring to your attention a diagram that I made:

    enter image description here

    The code in on codepen. If you have any questions regarding the code, please let me know.

提交回复
热议问题