MuscleCars tree
✓ Published0🌍 Public
This is a D3.js tree diagram that visualizes the hierarchy of Muscle Cars, branching from the root into manufacturers like Ford and Dodge, and then into specific models like Mustang, Torino, Charger, and Challenger. Node colors are assigned by a `type` field, and the layout uses `d3.layout.tree()` to position nodes hierarchically. The visualization is rendered as SVG and supports zooming and panning through `d3.behavior.zoom()`. Links are drawn as bezier curves with arrow markers, and tooltips appear on hover. The data comes from a local `Tree.json` file, and interactions include node collapsing and expanding.
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