Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Family tree

Public visualization

Fork of Family tree

0 stars0🌍 Public
Bbindhureddy98
Last edited Apr 2, 2022
Created on Apr 1, 2022
Forked from Family tree

This interactive D3.js visualization presents a hierarchical family tree, rendering the relationships from a grandfather down through multiple generations in an animated, expandable layout. Built with D3 v3 and jQuery, it uses SVG elements to draw nodes and links, with color-coded nodes representing different family member types. The visualization supports zoom, drag, and click interactions to explore the tree’s structure, incorporating smooth transitions and tooltips. The code uses `d3.layout.tree` for layout calculation, `d3.behavior.zoom` for pan/zoom functionality, and custom `breadthFirstTraversal` logic to manage node spacing and collision detection.

AI-generated description

This is a description using Markdown.

Comments

Sign in to join the discussion.

MIT Licensed