Skip to main content
100%

MuscleCars tree

✓ Published0🌍 Public
Hharsha
Last edited Jul 22, 2023
Created on Jul 22, 2023

This visualization presents a hierarchical tree of muscle car models, from the root "Muscle Cars" down through Ford and Dodge to specific models like the Mustang and Hellcat. The tree layout uses the D3 library, specifically `d3.layout.tree`, with nodes rendered as colored rectangles sized for readability. The visualization supports interactive zooming and panning through D3's zoom behavior and responds to mouse wheel events. Data is loaded from an external JSON file, and node colors are assigned based on a "type" field, distinguishing different levels in the hierarchy.

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