MuscleCars tree
✓ Published0🌍 Public
This interactive tree diagram visualizes the hierarchical relationships among muscle car models, starting from the root "Muscle Cars" and branching into manufacturers like Ford and Dodge, then down to specific models such as Mustang and Charger. Built with D3.js v3, it renders nodes and links as SVG elements with animated expansions and collapses. The code uses `d3.layout.tree` for positioning, `d3.behavior.zoom` for pan and zoom interactions, and loads hierarchical data from a JSON file via `d3.json`. Node colors correspond to type classifications in the dataset.
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