🌍 Public
Viewing a saved revision (read-only)
a9738d1a2a8b4beb9fc75a8aff59d10c
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