Skip to main content
100%

ICE - 7 Pie

✓ Published0🌍 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
MIT Licensed

Similar vizzes