my PLANTS tree
✓ Published0🌍 Public
This interactive tree diagram visualizes a hierarchical classification of plants, with a root node labeled “PLANTS” branching into categories like FLOWERS, CACTUS, VEGETABLES, and JADES, each with two child species. Users can click nodes to collapse or expand subtrees, with smooth animated transitions. Built with D3.js v3, it uses the `d3.layout.tree` and `d3.svg.diagonal` APIs to compute positions and draw curved links, rendering nodes as circles and text in an SVG. The dataset is hardcoded as a JavaScript object in the HTML file, with styling defined in embedded CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed