Skip to main content
100%

Fork of Fork of Fork of ICE7 Pie Chart

✓ Published0🌍 Public
Vvenkatajayanth03
Last edited Jul 3, 2022
Created on Jul 3, 2022

This example visualizes the top ten cricketers by runs scored using a pie chart, with a legend detailing each player’s name and run total. It loads data from a local JSON file and renders SVG paths via the D3 v5 `pie` and `arc` generators. The chart encodes run values as slice angles and uses `scaleOrdinal` with `schemeCategory10` for fill colors, while legends are built with appended SVG groups and text elements.

AI-generated description
MIT Licensed

Similar vizzes