Skip to main content
100%

MuscleCars tree

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

This is a D3.js tree diagram that visualizes the hierarchy of Muscle Cars, branching from the root into manufacturers like Ford and Dodge, and then into specific models like Mustang, Torino, Charger, and Challenger. Node colors are assigned by a `type` field, and the layout uses `d3.layout.tree()` to position nodes hierarchically. The visualization is rendered as SVG and supports zooming and panning through `d3.behavior.zoom()`. Links are drawn as bezier curves with arrow markers, and tooltips appear on hover. The data comes from a local `Tree.json` file, and interactions include node collapsing and expanding.

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