🌍 Public
Viewing a saved revision (read-only)
38faef98ff064342bd6b2b7eda65a4c7
Task1_Q1
This pie chart visualizes continent-wise COVID-19 deaths in 2023, using seven color-coded slices with percentage labels and a legend on the right. It loads data from a CSV file, parses it with `d3.csvParse`, and calculates the pie layout using `d3.pie()` and `d3.arc()`. A color scale with `d3.scaleOrdinal` and `d3.schemeCategory10` assigns slice colors. Interactive tooltips appear on mouseover, showing exact death counts per continent.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.