Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Ttarungunda
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Pie Chart

This pie chart visualizes mortality rates across U.S. states, with each slice sized by the number of deaths and labeled with a value. The chart is rendered as an SVG using D3 v5, employing `d3.pie` and `d3.arc` to generate the segments and centroids for text placement. A legend on the right maps each color to its state and death count, with data fetched from a CSV via `d3.csv`. The visualization uses a custom color scale (`scaleOrdinal`) and formats death numbers with `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes