MuscleCars tree
✓ Published1🌍 Public
This interactive tree diagram visualizes a hierarchy of muscle car models, starting with a root "Muscle Cars" node that branches into Ford and Dodge, then into specific models like Mustang, Charger, and Hellcat. The layout uses d3.layout.tree to arrange nodes, with each node color-coded by its type level and rendered as SVG rectangles with drop shadows. Users can click nodes to collapse or expand branches, while links display text labels and directional arrows. The visualization also includes zoom and drag behavior via d3.behavior.zoom, with data loaded from a 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