Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie

Public visualization

Viewing a saved revision (read-only)

d8d07d2ce49c446dab2ffe8d0924487a

ICE - 7 Pie

0 stars0🌍 Public
VVenkata Sai Preetham
Last edited Jul 3, 2022
Created on Jul 3, 2022

A pie chart displays the career runs of the top 10 cricketers, with each slice labeled in thousands (e.g., "10K") and accompanied by a color-coded legend listing player names and values. The visualization loads CSV data from a GitHub gist, parses it with `d3.csv`, and renders slices using `d3.pie` and `d3.arc` with an SVG output. Colors are assigned via `d3.scaleOrdinal` from a predefined array, and text labels are positioned using the arc centroid method.

AI-generated description