Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of ICE7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

1ef29b104e4348fa9ca79a3ed0928de8

Fork of Fork of Fork of ICE7 Pie Chart

0 stars0🌍 Public
SShishiraRudrabhatla
Last edited Jul 2, 2022
Created on Jul 2, 2022

A pie chart displays the total runs scored by ten top cricketers, with each slice sized proportionally to a player's career run total and labeled in a legend with player names and formatted values. The visualization loads data from a JSON file, then uses d3.pie to compute arc segments and d3.arc with an innerRadius of zero to render full circle slices. d3.scaleOrdinal applies the category color scheme, while SVG paths and legend rectangles are generated via d3.select and data joins.

AI-generated description