Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2_Q1_Piechart_Rashmitha

Public visualization

Viewing a saved revision (read-only)

ddec11df02fe414d8c80c1b134d684e4

Assignment2_Q1_Piechart_Rashmitha

0 stars0🌍 Public
Rrashmithatanneru@gmail.com
Last edited Apr 9, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

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