Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 7 pie chart

Public visualization

Viewing a saved revision (read-only)

4b4a5c352cf34dd4b1862f13c2417f7b

ice 7 pie chart

0 stars0🌍 Public
UUday Kiran
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of ice-7.2

This pie chart shows the population distribution across US states, with each state represented as a colored slice labeled directly on the chart. It uses d3.csv to load population data, then applies d3.pie and d3.arc generators to compute the slice geometry and render the SVG paths. Colors are assigned via d3.scaleOrdinal with a schemeCategory10 palette, and a separate legend lists all states with their matching colors. Labels are positioned using the arc centroid method, and the visualization is styled with a custom Google Font called Share Tech.

AI-generated description