MuscleCars tree
✓ Published0🌍 Public
This visualization presents a hierarchical tree of muscle car models, from the root "Muscle Cars" down through Ford and Dodge to specific models like the Mustang and Hellcat. The tree layout uses the D3 library, specifically `d3.layout.tree`, with nodes rendered as colored rectangles sized for readability. The visualization supports interactive zooming and panning through D3's zoom behavior and responds to mouse wheel events. Data is loaded from an external JSON file, and node colors are assigned based on a "type" field, distinguishing different levels in the hierarchy.
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