Fork of Interactive Tree Updated
✓ Published0🌍 Public
This interactive tree diagram visualizes a hierarchical dataset of question-facing outcomes, where each node is colored according to its state and labeled with its name. The visualization supports user interaction by allowing nodes to be collapsed or expanded on click. Built with d3.v5, it uses `treeLayout` and `linkHorizontal` to position nodes and draw edges, while SVG groups and rectangles represent each node. The animation of transitions is handled through d3's `.transition()` API, which smoothly updates node positions and path connections during structural changes.
AI-generated descriptionMIT Licensed