Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

charan car estimation

Public visualization

Viewing a saved revision (read-only)

1aefcd6c4b98446cb961bb83cb33f176

charan car estimation

0 stars0🌍 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