MuscleCars tree
✓ Published0🌍 Public
This example displays a hierarchical tree of Muscle Cars, starting with the root node and branching through manufacturers like Ford and Dodge down to specific models. Built with D3 v3, it renders the structure as SVG nodes and links, using colors to distinguish hierarchy levels. The visualization includes interactive features such as click-to-collapse/expand nodes and zoom-and-drag navigation, powered by D3’s layout and behavior APIs. Data is loaded from a JSON file, with node styling and tooltips defined through CSS.
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