Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js collapsible tree with boxes

Public visualization

Viewing a saved revision (read-only)

c8822c81d53f464d97ed67ea1fc1fc0f

D3.js collapsible tree with boxes

0 stars2🌍 Public
TTarunTeja333
Last edited Mar 18, 2020
Created on Mar 18, 2020

This example presents a collapsible tree layout where each node is a box containing text, rendered as an SVG with animated transitions powered by D3.js v3. The tree, loaded from a JSON file, supports click-to-expand and collapse interactions, with nodes colored by type and links labeled with sync/async direction. Custom zoom and drag behavior is implemented using `d3.behavior.zoom`, while the layout and node positioning use `d3.layout.tree`. Tooltips display additional node details, and the visualization uses jQuery alongside D3 for DOM manipulation.

AI-generated description

This is a description using Markdown.