Skip to main content
100%

shish's ice7-piechart

✓ Published1🌍 Public
SSai Shishir Koppula
Last edited Oct 28, 2025
Created on Oct 28, 2025

This pie chart displays the top 10 countries by world population share in 2025, with each slice labeled by country name and accompanied by a color-coded legend. Built with d3.v7 and rendered as SVG, it loads data from a CSV file, sorts by the World_Share column, and uses `d3.pie()` to generate the arcs. Slice colors come from `d3.scaleOrdinal()` with the `d3.schemeCategory10` palette, while `d3.arc()` defines the pie geometry. The visualization includes stroke outlines and text labels positioned at arc centroids, with a legend appended to the right of the chart.

AI-generated description
MIT Licensed

Similar vizzes