Skip to main content
100%

org chart

✓ Published0🌍 Public
DDlanka
Last edited Mar 28, 2018
Created on Mar 27, 2018

This org chart visualizes a small hierarchical team structure using D3.js v4. It shows a collapsible tree where clicking a node toggles its children in and out of view, with smooth transitions on expand and collapse. The chart renders nodes as rectangles connected by vertical curved links, using `d3.tree()` with custom node spacing and `d3.linkVertical()` for the paths. The data originates from a hardcoded JavaScript object representing staff relationships. A zoom transform is applied via `d3.zoom()`, allowing pan and scale gestures on the SVG container.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes