Tree Visualization
✓ Published0🌍 Public
This visualization presents a hierarchical tree diagram of animal categories, showing the branching structure from a root "Animals" node down to leaf species. It uses D3 v6’s `d3.hierarchy` and `d3.tree` layouts to compute positions, rendering SVG paths for links via `d3.linkHorizontal` and circles with text labels for nodes. The code colors nodes by depth (black for root, blue for internal, green for leaves) within a hardcoded dataset of mammals, birds, and reptiles.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed