Skip to main content
100%

MuscleCars tree

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes