T9
✓ Published0🌍 Public
A donut chart displays the top 20 highest individual runs scored in cricket, with each slice representing a player and colored by a categorical palette. The chart uses D3’s `pie`, `arc`, and `scaleOrdinal` APIs to generate and style slices, while a legend identifies each player. Data is fetched from a CSV URL and parsed with `d3.csv`, sorted by runs, and rendered as an SVG. Hovering over a slice dims it and shows a tooltip with the player’s name and run count.
AI-generated descriptionMIT Licensed