Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tree Example: ICE-8

Public visualization

Fork of Tree Example: ICE-8

0 stars0🌍 Public
BBoyka
Last edited Jun 16, 2023
Created on Jun 16, 2023

A fork of the D3.js tree example, this visualization displays a family tree for the Reddy lineage, using an animated, collapsible hierarchy. Each node represents a family member, with the node’s fill color determined by its generation level, while parent-child links are drawn as smooth cubic Bézier curves using a diagonal path generator. The code leverages the `d3.layout.tree` API and SVG `circle` and `text` elements to render the structure, with names and parent relationships provided in a hard-coded JavaScript array. Node clicks trigger animations to expand or collapse branches, controlled by the `transition` function.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed