D3 Sunbrust graph
✓ Published1🌍 Public
This example displays a hierarchical dataset as a static partition layout, using rectangles to represent nodes and their cumulative values. The visualization shows a root node 'A1' branching into 'B1' with children 'C1', 'C2', and 'C3', alongside a leaf 'B2'. It employs the d3.partition layout and d3.hierarchy API to compute rectangular coordinates, then renders the result as SVG rectangles and text labels. Each rectangle is filled with a dark, semi-transparent color and outlined in white, with node names positioned inside each cell.
AI-generated descriptionD3 Hierarchies
MIT Licensed