Skip to main content
100%

rao

✓ Published0🌍 Public
RRakshithaRao27
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Pie Chart

This pie chart displays mortality rates across United States, with each slice representing a state and its corresponding death count. The visualization uses D3 v5’s `pie()` and `arc()` functions to generate the chart, with `scaleOrdinal` assigning colors to each segment. A legend on the right shows state names and formatted death values via `d3.format`. Data is loaded asynchronously from a CSV file using `d3.csv`, and the SVG rendering includes percentage-aligned labels positioned through `arc.centroid()`.

AI-generated description
MIT Licensed

Similar vizzes