task_9 question 1
✓ Published0🌍 Public
This example displays a pie chart of total COVID-19 cases by country, sourced from a remote CSV file. It uses D3 v6 to load the data via `d3.csv` and generates the chart with `d3.pie` and `d3.arc`, rendering slices as SVG paths. The visualization includes color-coded slices using `d3.schemeCategory10` and a legend with rectangles and text labels. The SVG output is centered and styled with a white background and shadow.
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