MuscleCars tree
✓ Published0🌍 Public
This example presents a hierarchical tree visualization of Muscle Cars, showing the relationships between brands like Ford and Dodge and their models such as Mustang and Charger. The tree is rendered as an SVG with rectangular nodes, colored by type level, and connected by labeled links with directional arrows. The visualization uses the D3.js v3 layout API (`d3.layout.tree`) and includes interactive features like zooming, dragging, and node click-to-collapse. Data is loaded from a local JSON file, and animation transitions are applied when the tree updates.
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