Skip to main content
100%

Pie chart of Total deaths with Country DropDown

✓ Published0🌍 Public
SSushmaNamidi@my.unt.edu
Last edited Apr 26, 2024
Created on Apr 25, 2024
Forked from Hello VizHub

This interactive pie chart displays total COVID-19 deaths by continent for a selected country. A dropdown menu allows users to filter the data by country, and hovering over a slice reveals a tooltip with exact death counts. The visualization uses D3 v7 with SVG rendering, employing `d3.pie`, `d3.arc`, and `d3.rollup` to aggregate and draw the slices, while a custom legend and color scale using `d3.scaleOrdinal` accompany the chart. Data is loaded from a CSV file via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes