Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart for Player Statics

Public visualization

Viewing a saved revision (read-only)

153d8e66f2c142e0a46bd7bde5a7c937

Pie Chart for Player Statics

0 stars0🌍 Public
Ssdarsi2404@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of D3 Starter

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