Fork of Fork of ICE - 8: Family Tree
✓ Published0🌍 Public
This example shows an interactive family tree starting with Prem Kohli and branching down through Saroj, Vikas, and Virat Kohli, rendered as a hierarchical node-link diagram. Clicking a node with children collapses or expands its subtree, with smooth 750ms transitions animating the nodes into place. The visualization uses D3’s `d3.layout.tree`, `d3.svg.diagonal` for curved links, and SVG transitions, with styling defined in a `<style>` block for node circles and link strokes in pink. The tree data is hardcoded in a JavaScript array.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed