Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Pie chart

Public visualization

Fork of ICE 7 Pie chart

0 stars1🌍 Public
Ppavankalyan1507
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE 7 Pie chart

This visualization is a pie chart displaying the top 10 countries by population in 2022. Each slice is labeled with its population value in thousands, and a legend lists the country names alongside corresponding color swatches and population figures. The code fetches CSV data from a GitHub gist URL using the `d3.csv` function. It renders the chart as SVG using D3 v5’s `pie` and `arc` generators, with `scaleOrdinal` assigning colors to each data category.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed