🌍 Public
Viewing a saved revision (read-only)
5d4d2ff9cad34ae2a5d5837b6fe537fb
Activity 7.1_Question 1
This pie chart shows mortality rates across United States, with each slice representing a state’s number of deaths and a legend listing state names and values. The chart is rendered in SVG using d3.v5, employing pie(), arc(), and scaleOrdinal() to generate segments colored from a fixed palette. Data is loaded via d3.csv from a remote GitHub gist, and arcs are drawn with d3.arc() using an inner radius of 0 and outer radius of 175. Death counts are converted to numbers and summed, though the total is not displayed.
AI-generated description