Fork of Fork of Fork of ICE7 Pie Chart
✓ Published0🌍 Public
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 descriptionMIT Licensed