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)

e54de03d72c34b619cba6f9b5c6e09c1

D3.js collapsible tree with boxes

0 stars1🌍 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.