Fork of HTML Starter
✓ Published0🌍 Public
A dark-themed D3 v7 pie chart visualizes the sum of wickets by player role (Batter, Bowler, All-Rounder, Wicketkeeper) from a CSV of 150 cricket records, mapping roles to fixed colors via `scaleOrdinal`. Slices are drawn with `pie()` and `arc()`, and labels appear inside large slices while small ones use outside callouts. The SVG is animated through a `transition()` on slice paths, with a side legend built using D3's selection API.
AI-generated descriptionMIT Licensed