Skip to main content
100%

D3 Sunbrust graph

✓ Published1🌍 Public
SSubhendu Karmakar
Last edited Mar 13, 2024
Created on Mar 13, 2024

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 description

D3 Hierarchies

MIT Licensed

Similar vizzes