🌍 Public
Viewing a saved revision (read-only)
dfdea261bf4b4389b65030792ab84e07
Fork of Fork of Fork of ICE7 Pie Chart
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