MuscleCars tree
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed