Fork of Fork of Fork of ICE7 Pie Chart
✓ Published0🌍 Public
A pie chart displays the total runs scored by eight prominent cricketers, highlighting the dominance of Sachin Tendulkar with 53,378 runs relative to others. The visualization loads data from a JSON file and uses D3 v5’s `pie` and `arc` generators to create SVG paths, with `scaleOrdinal` and `schemeCategory10` assigning colors to each segment. A legend on the right maps each player’s name and formatted run total using `format`, while arcs are rendered without inner radius. The chart emphasizes comparative performance through proportional slice areas.
AI-generated descriptionMIT Licensed