🌍 Public
Viewing a saved revision (read-only)
4292aec07a64471b91962d63ee4330a4
ICE - 7 Pie Chart
This pie chart displays the top five countries in the ICC World Test Championship, showing each country’s win percentage as a colored slice with the percentage labeled directly on each segment. A legend on the right pairs each country with its corresponding value and color. The visualization uses D3 v5’s `pie` and `arc` generators to compute and render the SVG paths, with `scaleOrdinal` assigning the five section colors. Data is loaded asynchronously from a CSV file via `d3.csv`, and text formatting uses D3’s `format` function.
AI-generated description