🌍 Public
ICE8 - Interactive Tree Graph
This interactive tree graph displays an animal hierarchy, from a root "Animals" node branching into Herbivores, Omnivores, and Carnivores, with further subcategories like Lions and Tigers. Clicking any node collapses or expands its children, animating the reorganization with smooth transitions. Built with the React framework and rendered using SVG, the visualization leverages D3.js version 3.5 APIs like `d3.layout.tree` for positioning, `d3.svg.diagonal` for link paths, and node transitions via the `.transition().duration()` method. Circles and text labels are styled through CSS classes, with alternating fill colors indicating expandable nodes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed








Comments
Sign in to join the discussion.