Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Pie Chart Sandeep Babu 11821337

Public visualization

ICE-7 Pie Chart Sandeep Babu 11821337

0 stars0🌍 Public
Ssandyman2109@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025
Forked from D3 Starter

This pie chart visualizes the share of total goals or points contributed by each sport—football, basketball, and cricket—using data from SportsData.csv. The chart aggregates player statistics via `d3.rollup` and `d3.sum`, then renders slices with `d3.pie` and `d3.arc`, using a Tableau10 color scale from `d3.scaleOrdinal`. Labels appear on each slice using `labelArc.centroid`, and a legend lists the sports. The visualization is built with D3 v7 and rendered as SVG, with dark-themed styling applied.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed