company_tree
✓ Published0🌍 Public
This example renders a company organizational hierarchy as an indented tree diagram. It uses D3.js v7 and SVG to draw nodes and links, with circles for roles and text labels. The hierarchical structure is built from an array of objects using `d3.group` to nest data by company, department, and team before mapping it into a tree structure. The visualization includes a dynamic color legend that separates roles by team, and the nodes are interactive, with the cursor pointer indicating clickable elements.
AI-generated descriptionMIT Licensed