Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Ggayathrikavya
Last edited Mar 29, 2023
Created on Mar 24, 2023
Forked from Pie Chart

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes