Skip to main content
100%

Fork of Fork of Fork of ICE7 Pie Chart

✓ Published0🌍 Public
GGARIDIDEEKSHITHREDDY
Last edited Mar 29, 2022
Created on Mar 29, 2022

A pie chart depicts the top ten cricketers by runs scored, with each slice's area proportional to the player's total. It shows each player's name and runs in a legend, using a categorical color palette assigned to the data values. The visualization is created using D3 v5, employing the `d3.pie` function to compute arc segments and `d3.arc` for rendering the SVG paths, with `d3.scaleOrdinal` for color mapping. Data is loaded from a JSON file and rendered inside an SVG element, with legend text and values styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes