Fork of Fork of Tree 7
✓ Published9🌍 Public
This example presents a collapsible node-link tree diagram that visualizes a small hierarchical dataset from a JSON file. The visualization loads the JSON data and displays it as an interactive tree, where users can click on nodes with children to expand or collapse branches. The tree layout is computed using `d3.layout.tree` and rendered as an SVG graphic, with nodes drawn as circles and connections as diagonal path links. The visualization uses the `qn_tree.json` data source, and all transitions between expanded and collapsed states are animated with D3's `.transition()` method.
AI-generated descriptionMIT Licensed