Skip to main content
100%

Fork of Fork of Fork of ICE7 Pie Chart

✓ Published0🌍 Public
Ppemmasaniprudhvinadh
Last edited Mar 30, 2023
Created on Mar 30, 2023

This chart shows a pie visualization of cricket players' run totals, with a legend listing each player's name and their corresponding runs alongside a color-coded swatch. The chart reads total runs from a local JSON file and renders the pie slices using `d3.pie` and `d3.arc`, while a categorical color scale from `d3.scaleOrdinal` with the `schemeCategory10` range fills each segment. The SVG also includes a manually positioned legend built with `d3.select` and appended `rect` and `text` elements.

AI-generated description
MIT Licensed

Similar vizzes