Skip to main content
100%

Fork of Fork of ICE - 8: Family Tree

✓ Published0🌍 Public
GGalineeharika
Last edited Apr 12, 2023
Created on Apr 12, 2023

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes