Building a Tree Diagram in D3.js
This selects all SVG Path elements with a class name of "link" from the parent element: layoutRoot. We enter the selection with a binding to data(), followed by enter(). ... d3.layout.tree() is the starting point for tree layouts in D3. The call to this f...