Skip to main content
100%

D3.js collapsible tree with boxes

✓ Published1🌍 Public
AAndreDelgo
Last edited Sep 18, 2020
Created on Sep 18, 2020

This example presents an interactive collapsible tree diagram where each node is rendered as a colored box, with the root in yellow, inner nodes in blue and green, and leaf nodes in purple. Clicking a node expands or collapses its children, with smooth animated transitions. The visualization uses D3.js v3’s `d3.layout.tree` for hierarchical layout and `d3.behavior.zoom` for panning and zooming, while SVG elements and CSS styles define the boxes, links, and tooltips. Data is loaded from a JSON file containing node names, types, versions, and link directions.

AI-generated description

This is a description using Markdown.

MIT Licensed

Similar vizzes