Tree Example: ICE-8
This interactive tree visualization displays a three-level animal classification hierarchy, dividing animals into herbivores, carnivores, and omnivores, with examples like rabbits, lions, and bears. The React-based example uses the D3.js library to render an animated, collapsible node-link diagram as SVG, with clickable nodes and smooth cubic Bézier curves connecting parent and child elements. The code encodes categorical data through node fill colors and stroke colors, while CSS handles hover effects and presentation.