D3.js collapsibleRRR tree with refined boxes/links
✓ Published0🌍 Public
BBart Mburu
Last edited Dec 5, 2023
Created on Dec 5, 2023
Forked from Fork of D3.js collapsibleRRR tree with boxes
This example shows a collapsible tree visualization built with D3.js v3, displaying hierarchical data as colored rectangular nodes connected by labeled links. The code uses `d3.layout.tree` to position nodes, and implements interactive collapsing/expanding on click with smooth transitions. Rendering is done via SVG, with node colors mapped from data types, tooltips, and zoom/drag behavior provided through `d3.behavior.zoom`. The data is loaded from a JSON file containing nested node objects with name, type, and link direction attributes.
AI-generated descriptionThis is a description using Markdown.
MIT Licensed