Skip to main content
100%

ICE 8 example for Tree graphic

✓ Published9🌍 Public
Vvidhyanamini
Last edited Apr 3, 2022
Created on Apr 2, 2022

This example displays a static tree diagram of hierarchical name data, with nodes rendered as circles and connections as straight lines. The graphic shows a root node ("Venky") branching to children and further descendants, while text labels identify each node. The code uses D3 v6’s `d3.stratify` to structure the data and `d3.tree` to compute node positions within a 600x300 size. SVG elements are created and animated using D3 transitions, with circles appearing before the paths draw.

AI-generated description
MIT Licensed

Similar vizzes