ICE game Tree
This visualization displays a tree diagram of popular video games, organized top-down into genres like Shooter, BR, Competitive, and Open World, with specific game titles as leaves. The code uses D3 v6’s `d3.stratify()` to convert the flat data into a hierarchy, `d3.tree()` to compute layout coordinates, and SVG circles, paths, and text for rendering. Links animate via a two-step `transition()` on path `d` attributes, while node fill colors shift by generation depth using a custom `setGeneration()` function.