Skip to main content
100%

ICE-8 Fruits Tree

✓ Published0🌍 Public
RRaajithaSabbineni
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from HTML Starter

This interactive tree diagram displays a hierarchical classification of fruits, branching from a root "Fruits" node into "NonSweet" and "Sweet" categories with child items like Avocado, Tomatoes, Banana, and Papaya. The visualization uses the D3.js library (v3.5.17) with the `d3.layout.tree` algorithm to structure nodes and `d3.svg.diagonal` for curved link paths. Nodes are rendered as SVG circles with text labels, styled with green and red strokes. Users can click any node to collapse or expand its children, triggering animated transitions that reposition elements over 750 milliseconds.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes