Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Aamiralitah
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from Pie Chart

This visualization displays mortality rates across countries in the United States using a pie chart, with colored segments and a legend showing each country’s death count. The chart is built with D3 v5, using the `pie` and `arc` generators to create the segments, and `scaleOrdinal` to map colors to data categories. It loads CSV data from a remote URL, processes the values, and renders the pie and legend as SVG elements, with text labels positioned via `arcGenerator.centroid`.

AI-generated description
MIT Licensed

Similar vizzes