MuscleCars tree
✓ Published0🌍 Public
This interactive visualization presents a hierarchical tree of muscle car models, organized by brand with nodes for Ford, Dodge, and their respective models. Built with D3 v3 and SVG rendering, it uses `d3.layout.tree` to compute the layout and supports zooming and dragging via `d3.behavior.zoom`. The color-coded nodes correspond to hierarchy depth, and clicking a node triggers a collapsible animation with a duration of 800 milliseconds. Data is loaded from a local JSON file.
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