Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment8_Manisha_TreeVisualization

Public visualization

Viewing a saved revision (read-only)

b797c53e23db47008675c248441bd0de

Assignment8_Manisha_TreeVisualization

0 stars1🌍 Public
Kkonudulamanisha@gmail.com
Last edited Nov 10, 2025
Created on Nov 10, 2025

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