Skip to main content
100%

Piechart ICE7

✓ Published0🌍 Public
MMahesh
Last edited Apr 2, 2025
Created on Apr 1, 2025

This pie chart displays the ten most populous Indian states in 2024, ranking them by population with a color-coded legend that labels each slice with the state name and its total population. The chart uses D3.js v7’s `d3.pie` layout and `d3.arc` generator to compute and draw the SVG paths, while a `d3.scaleOrdinal` with the `schemeTableau10` palette assigns colors. Data loads from a remote CSV file, and the legend is built with D3 selections, appending styled HTML divs.

AI-generated description
MIT Licensed

Similar vizzes