Skip to main content
100%

MuscleCars tree

✓ Published0🌍 Public
NNukaShravanKumar
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from Hello VizHub

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 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