Skip to main content
100%

D3.js collapsibleRRR tree with boxes

✓ Published0🌍 Public
Kkaran1904
Last edited Jun 19, 2020
Created on Jun 19, 2020

This example presents a collapsible hierarchical tree visualization using D3.js v3, where each node is rendered as a colored rectangle with text and tooltip support. The tree layout (d3.layout.tree) organizes nodes by depth, with curved SVG paths (d3.svg.diagonal) representing links between parent and child nodes. Users can collapse or expand branches by clicking on nodes, which triggers animated transitions (transition.duration) to update the layout. The visualization reads hierarchical JSON data containing node properties like type, code, and version, and uses jQuery alongside D3 for DOM manipulation and zoom/pan interactions.

AI-generated description

This is a description using Markdown.

MIT Licensed

Similar vizzes