Skip to main content
100%

MuscleCars tree

✓ Published0🌍 Public
HHarshiiiiiiiip
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

An animated, color-coded tree visualization maps the hierarchy of classic muscle cars, from the root "Muscle Cars" down to specific models and trims like the Mustang, Charger, and Hellcat. The code loads hierarchical data from a JSON tree and renders it as an SVG using D3 v3's `d3.layout.tree`. Interactivity includes click-to-expand/collapse nodes, zoom-and-pan via `d3.behavior.zoom`, and hover tooltips, all styled with custom CSS. The visualization uses rectangles with drop shadows and colored arrows to distinguish hierarchy levels.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes