Pie Chart
✓ Published0🌍 Public
This pie chart visualizes the top 10 provinces in South Korea by confirmed COVID-19 case counts, sorted in descending order with each slice colored via `d3.scaleOrdinal` and `d3.schemeCategory10`. The data is loaded from a CSV file using `d3.csv` and rendered as SVG paths with the `d3.pie` and `d3.arc` generators. A legend, positioned to the right, pairs each province with its confirmed count using text and rectangles. Mouseover events log the selected province’s value to the console.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed