🌍 Public
Viewing a saved revision (read-only)
153d8e66f2c142e0a46bd7bde5a7c937
Pie Chart for Player Statics
This pie chart visualizes the distribution of runs scored by individual players, using a CSV dataset fetched from a GitHub gist. Built with D3.js v7, it renders an SVG pie chart where each slice is colored by player name and includes direct labels. The chart uses `d3.pie()` and `d3.arc()` to generate slice geometry, with a legend and a hover tooltip that displays player-specific details. A color scale (`d3.scaleOrdinal`) maps each player to a distinct category color.
AI-generated description