š Public
Viewing a saved revision (read-only)
e1c54ca08b044e9c9ee81f2f1d4cddce
Assignment8_Manisha_TreeVisualization
This visualization displays a hierarchical tree structure loaded from a CSV file containing id, parent, and label columns. The code uses `d3.stratify` to convert the flat tabular data into a hierarchy, then applies the `d3.tree` layout to position nodes and links horizontally. It renders SVG circles for nodes with color coding by depth and uses `d3.linkHorizontal` for curved connector paths. The tree draws from a raw GitHub source URL with d3.v7 and displays labels next to each node.
AI-generated description