Skip to main content
100%

MuscleCars tree

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

This interactive tree visualization displays a hierarchical structure of classic muscle cars, organized by brand (Ford, Dodge) and specific models, with a custom layout. Built with D3 v3, it renders collapsible nodes and animated links using SVG and the `d3.layout.tree` API, which calculates the tree's size and positions. The code reads the hierarchical data from a JSON file (`Tree.json`) and uses the `d3.behavior.zoom` module for pan and zoom interactions. Styling is applied via CSS classes, with node colors varying by type, and the visualization includes tooltips and a drop-shadow filter.

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