Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tree Example

Public visualization

Fork of Tree Example

0 stars0🌍 Public
Nnagamaheswar
Last edited Apr 1, 2022
Created on Apr 1, 2022
Forked from Tree Example

This example shows an animated, collapsible tree diagram built with D3.js v3. The visualization presents a hierarchical dataset of fictional nodes and sizes, with the root node branching into two children and deeper sub-nodes. Users can click any node to collapse or expand its children, with smooth transitions adjusting node positions and links. The code uses `d3.layout.tree`, `d3.svg.diagonal`, and SVG transitions, with circles and text labels rendered for each node and gray paths connecting them.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed