Skip to main content
100%

MuscleCars tree

✓ Published0🌍 Public
MmNamratha25
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This interactive visualization presents a hierarchical tree of muscle car models, organized by brand with nodes for Ford, Dodge, and their respective models. Built with D3 v3 and SVG rendering, it uses `d3.layout.tree` to compute the layout and supports zooming and dragging via `d3.behavior.zoom`. The color-coded nodes correspond to hierarchy depth, and clicking a node triggers a collapsible animation with a duration of 800 milliseconds. Data is loaded from a local 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