Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Nnagarjuna1968
Last edited Mar 28, 2022
Created on Mar 27, 2022

A pie chart shows the top 10 causes of death in 2013, with each slice labeled in thousands using `d3.arc` and `d3.pie`. The chart is rendered as SVG with `d3.select` and `d3.scaleOrdinal` assigning colors from a fixed array. Data is loaded as CSV from a GitHub gist, and a legend lists each country alongside a colored square and its death count. Text formatting uses `d3.format` with the `~4g` specifier.

AI-generated description
MIT Licensed

Similar vizzes