title: How to get the vertically-oriented tree using d3.js
body: <p>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 for this requirement.</p>
  
  <p> <a href="https://stackoverflow.com/questions/11137238/d3js-tree-square">d3js Tree square</a> 
  <img src="https://i.stack.imgur.com/Ym1Ic.png" alt="enter image description here"></p>