Skip to main content
100%

Fork of D3.js collapsible tree with boxes

✓ Published0🌍 Public
Llimenzi
Last edited May 18, 2021
Created on May 18, 2021

This visualization shows a collapsible tree layout with rectangular nodes, where each node displays text content such as product names and descriptions. The tree uses D3.js v3’s `d3.layout.tree` for hierarchical positioning, with nodes colored by their `type` attribute and connected by SVG paths. Interactivity includes zooming and panning via `d3.behavior.zoom`, collapsing/expanding nodes on click, and tooltips that appear on hover. The example loads hierarchical JSON data and renders it as an animated, SVG-based diagram with custom styling for links and arrows.

AI-generated description

This is a description using Markdown.

MIT Licensed

Similar vizzes