🌍 Public
Viewing a saved revision (read-only)
6e1c0e85e59b4fbdaa577ca8206e39bd
Tree Test
A hierarchical tree layout arranges data from a CSV file by a categorical column, with each leaf sized according to a rollup sum. The visualization shows the nested structure of the data2.csv dataset, grouping entries by activity and rendering the resulting hierarchy as a tree with curved links. The code uses d3.nest, d3.hierarchy, and d3.tree to compute the layout, and d3.linkHorizontal to generate the connecting paths.
AI-generated description