Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1_Question 1

Public visualization

Viewing a saved revision (read-only)

005362e860f94ca09336cd56878761ac

Activity 7.1_Question 1

0 stars0🌍 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