Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE -7 Pie Chart

Public visualization

ICE -7 Pie Chart

0 stars0🌍 Public
AArun
Last edited Mar 27, 2024
Created on Mar 27, 2024
Forked from Pie Chart

This pie chart visualizes the male and female populations of Indian cities, using a CSV dataset loaded from a GitHub gist. Each slice represents a city's total population, with a legend listing city names alongside their respective male and female population values. The visualization is built with D3 v5, using the `pie` and `arc` APIs to generate SVG paths, and `scaleOrdinal` for color assignment. The chart is rendered as an SVG with a custom legend, and the data is fetched asynchronously via the `csv` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed