Skip to main content
100%

MuscleCars tree

✓ Published0🌍 Public
SSwapna1915
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This example presents a hierarchical tree visualization of Muscle Cars, showing the relationships between brands like Ford and Dodge and their models such as Mustang and Charger. The tree is rendered as an SVG with rectangular nodes, colored by type level, and connected by labeled links with directional arrows. The visualization uses the D3.js v3 layout API (`d3.layout.tree`) and includes interactive features like zooming, dragging, and node click-to-collapse. Data is loaded from a local JSON file, and animation transitions are applied when the tree updates.

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