Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Tree 7

Public visualization

Viewing a saved revision (read-only)

7c5b689f11bd4a58bd70566e1a367aa2

Fork of Fork of Fork of Tree 7

0 stars1🌍 Public
DDivyaVellanki
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example shows an animated, collapsible tree diagram built with D3.js v3, displaying hierarchical data loaded from a JSON file. The tree layout positions nodes by depth, and clicking a node toggles its children in or out with smooth transitions. The visualization uses `d3.layout.tree`, `d3.svg.diagonal` for curved links, and SVG elements for circles and text labels. Node and link styling uses pink circles and gray paths, with all interactions handled by a click function that updates the layout.

AI-generated description