Skip to main content
100%

ICE - 7 Pie Chart

✓ Published0🌍 Public
SShishiraRudrabhatla
Last edited Jun 29, 2022
Created on Jun 29, 2022
Forked from D3 Scatter Plot

A pie chart visualizes the top 10 countries by deaths from air pollution in 2020. Each slice’s size corresponds to the death count, with labels showing values in thousands. The visualization uses D3.js (v5) to fetch CSV data, compute pie arcs, and render an SVG. It employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for coloring, alongside custom legend rendering with rectangles and text.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes