Task9_Question1_PieChart
✓ Published0🌍 Public
A pie chart visualizes the number of COVID-19 deaths by region, with each slice labeled with the death count in thousands and a legend mapping colors to regions. The D3 v5 code loads data from a remote CSV using `d3.csv`, computes slice geometry with the `d3.pie` layout and `d3.arc` generator, and colors slices via `d3.scaleOrdinal`. The chart is rendered as SVG, with the title and labels formatted using `d3.format`.
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.
MIT Licensed