🌍 Public
Viewing a saved revision (read-only)
7185e869bdd84874adbc28a4b2bbdb54
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.