🌍 Public
Viewing a saved revision (read-only)
a2b396ef3c174c19904d39a465c6ff26
T9
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 description