Skip to main content
100%

Fork of Interactive Tree Updated

✓ Published0🌍 Public
Bbindhureddy98
Last edited Apr 2, 2022
Created on Apr 2, 2022

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 description
MIT Licensed

Similar vizzes