Skip to main content
100%

Activity 7.1_Question 1

✓ Published0🌍 Public
Aakhilasannayila@gmail.com
Last edited Nov 7, 2024
Created on Nov 7, 2024

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
MIT Licensed

Similar vizzes