Skip to main content
100%

MuscleCars tree

✓ Published1🌍 Public
LLakshmanRangisetti
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This interactive tree diagram visualizes a hierarchy of muscle car models, starting with a root "Muscle Cars" node that branches into Ford and Dodge, then into specific models like Mustang, Charger, and Hellcat. The layout uses d3.layout.tree to arrange nodes, with each node color-coded by its type level and rendered as SVG rectangles with drop shadows. Users can click nodes to collapse or expand branches, while links display text labels and directional arrows. The visualization also includes zoom and drag behavior via d3.behavior.zoom, with data loaded from a JSON file.

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