Skip to main content
100%

charan car estimation

✓ Published0🌍 Public
Ccharanchand9
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from Hello VizHub

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

Similar vizzes