Activity 7.1_Question 1
✓ Published0🌍 Public
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 descriptionMIT Licensed