charan car estimation
✓ Published0🌍 Public
This example visualizes a hierarchical car estimation tree, showing categories like 2-seater, 5-seater, and 8-seater with associated price nodes ($28k, $40k, $60k) branching from a root "cars" label. The code uses d3.stratify and d3.tree to compute the layout, then renders SVG circles with animated link paths that draw from parent to child. Node colors depend on depth via a custom setGeneration function, with transitions controlling the radius growth and text labels displayed inside each circle.
AI-generated descriptionMIT Licensed