rao
✓ Published0🌍 Public
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 descriptionMIT Licensed