Skip to main content
100%

task_9 question 1

✓ Published0🌍 Public
Bbudalavijay2001@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes