🌍 Public
Fork of Saipriya ICE-8 Animals tree Chart
A fork of Saipriya’s ICE-8 Animals tree chart visualizes a hierarchical classification of animals using an SVG tree layout. The code employs `d3.tree()` and `d3.hierarchy()` to position nodes, with circles sized by each category’s `value` and colored via `style.fill` and `style.stroke` based on `level` and `type` data. Curved link paths are generated with a cubic Bézier formula, and nodes are labeled with `d3.select`-appended text elements. The data is a static JavaScript object nested under “Animal” with children for Mammal, Reptile, and Bird.
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.