D3.js collapsible tree with boxes
✓ Published1🌍 Public
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 descriptionThis is a description using Markdown.
MIT Licensed