Skip to main content
100%

Fruits

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

A hierarchical tree visualization displays fruit categories and their subtypes, with nodes colored by type and connected by labeled, directional links. The D3 v3 layout computes node positions, while SVG shapes and CSS styles render the interactive diagram. Users can click nodes and zoom or drag the view, with tooltips showing additional node information. The example also demonstrates loading D3 from a CDN and structuring data with external JSON files.

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