Skip to main content
Public

Share visualization

Loading preview…

ICE - 7 Pie Chart Maanas Katta

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE - 7 Pie Chart Maanas Katta

MMaanas Katta
Last edited Mar 28, 2022
Created on Mar 26, 2022
Forked from Pie Chart

This D3.js visualization presents a pie chart of the top 10 countries by deaths attributed to air pollution in 2020. Each slice is labeled with the death count in thousands, and a corresponding legend lists the country names alongside their values. The chart uses `d3.pie` and `d3.arc` to generate the segments, with colors assigned via `scaleOrdinal`. Data is loaded from a CSV file using `d3.csv`. The visualization is rendered as an SVG, with a custom legend built manually using appended SVG groups and rectangles.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed