🌍 Public
Viewing a saved revision (read-only)
27d3020097f241e8980b60259df56f6b
ICE7 piechart
This pie chart displays the population of Indian states. It uses the D3 library's `pie` and `arc` functions to compute and render the SVG paths, with colors assigned via `scaleOrdinal` and `schemeCategory10`. A legend, built with `append` and `text`, shows each state’s name and its population in millions. The data is loaded asynchronously from a remote CSV file using the `csv` function.
AI-generated description