Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie Chart

Public visualization

ICE - 7 Pie Chart

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed