Skip to main content
100%

Fork of D3 Hierarchies

✓ Published0🌍 Public
Yyashasvi.singh0601@gmail.com
Last edited Mar 13, 2024
Created on Mar 13, 2024
Forked from D3 Hierarchies

This tree visualization displays the hierarchical relationship between movie distributors and genres, using a dataset of ten films. It shows how genres are grouped under their respective distributors, with leaf nodes labeled by film count. The code uses `d3.rollup` to aggregate data, `d3.hierarchy` and `d3.tree` to compute the layout, and joins SVG elements to render nodes, edges, and labels. The root node is the aggregate of all distributors, with genres as intermediate nodes and film counts as leaf labels.

AI-generated description

D3 Hierarchies

MIT Licensed

Similar vizzes