🌍 Public
Viewing a saved revision (read-only)
b8f803f48b3048e3a3228e8d32fae78d
ICE-7 Pie chart SKM
A pie chart displays the number of test cricket players per country from a CSV dataset, using rounded labels for player counts and a legend with color-coded entries. The chart is rendered with D3 v5, using `d3.pie` and `d3.arc` to generate the slices and `d3.scaleOrdinal` for colors. Data is fetched asynchronously via `d3.csv` and aggregated client-side by country. Labels are positioned using the arc centroid, and the SVG output includes a fixed set of ten distinct section colors.
AI-generated descriptionThis is my pie chart of number of players from each country in top test records