Cricket IPL Tree_Chart
✓ Published0🌍 Public
This interactive tree chart visualizes the structure of cricket IPL teams, showing the hierarchy from Cricket down to men’s and women’s IPL franchises, and finally to individual player names. The SVG diagram uses d3.layout.tree and d3.svg.diagonal to render the collapsible nodes and links, with click handlers to toggle child visibility. Nodes are drawn as rectangles with a cyan fill and yellow stroke, while animated transitions (500ms duration) reposition elements smoothly using d3’s transition API. The static dataset is hardcoded in the script, and the visualization supports expansion and collapse of branches.
AI-generated descriptionMIT Licensed