Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Ssharathchandrareddymuthyam
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

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 description
MIT Licensed

Similar vizzes