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)

8d1f93eef689405e987f3bbc4b338a33

D3.js collapsible tree with boxes

0 stars1🌍 Public
RRafael Ortet
Last edited Jan 25, 2021
Created on Jan 25, 2021

This example shows a collapsible tree diagram where each node is a colored box representing a hierarchical data structure, with labels, types, and version information. Users can expand and collapse branches by clicking nodes, and the layout animates smoothly as the tree changes. Built with D3.js v3 and jQuery, it uses the d3.layout.tree layout, SVG rendering, and d3.behavior.zoom for panning and zooming. Node colors correspond to the “type” field in the JSON data, and tooltips appear on hover to show additional details.

AI-generated description

This is a description using Markdown.