🌍 Public
Viewing a saved revision (read-only)
cdacbea4eeeb47058c725e79f6bc4a9e
Assignment2_Q1_PieChart_Harini
This pie chart displays the distribution of immigrants to Canada by continent in 2013, with each slice colored and accompanied by a legend showing percentages. It uses D3 v5 to load CSV data from a GitHub repository, aggregate values by continent with `d3.nest` and `d3.sum`, and render the visualization as SVG. Interactive tooltips appear on mouseover via `d3.arc` and transition effects, while the chart animates using D3’s selection and data-binding methods.
AI-generated description