🌍 Public
Viewing a saved revision (read-only)
83aa1cfd0570427ca02556ac89e78cc9
Assignment2_Q1_Piechart_Rashmitha
This pie chart visualizes the number of people affected by Ebola in 2014, aggregated by country from a CSV dataset. A D3.js v5 script loads the data, groups entries by country, and sums the affected counts to create proportional slices. The SVG rendering includes interactive tooltips that display each country’s count and percentage on mouseover, alongside a legend showing the same percentages. The visualization uses d3.pie, d3.arc, and d3.scaleOrdinal for color encoding, with a custom CSS tooltip for user feedback.
AI-generated description