Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

47a012535499458f948bffa1163fdf84

Fork of HTML Starter

0 stars0🌍 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