Skip to main content
100%

Family Tree

✓ Published0🌍 Public
SSravyaAnnadi
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from HTML Starter

This interactive family tree visualization displays hierarchical relationships using an expandable node-link diagram. The tree structure is defined in a JSON file with nodes representing family members and links depicting connections. Using D3.js v3, the visualization renders nodes as colored rectangles with descriptive labels, while animated transitions and zooming capabilities enhance navigation. Each node can be clicked to reveal or hide its children, and the layout automatically adjusts to accommodate the expanded structure. The tree is built using the `d3.layout.tree` algorithm, with SVG for rendering and CSS classes for styling node states like selected links and tooltips.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes