Fork of piechart
✓ Published0🌍 Public
This fork of a pie chart visualizes Tokyo 2020 gold medal counts by country, displaying each nation’s share as a percentage label inside its slice. The chart loads CSV data via `d3.csv`, computes percentages, and renders SVG paths using `d3.pie()` and `d3.arc()`, with `d3.scaleOrdinal(d3.schemeCategory10)` for colors. A legend lists countries with their percentage values, while text elements with `tspan` lines show country names and percentages on each slice.
AI-generated descriptionMIT Licensed