Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie chart ICE7

Public visualization

Viewing a saved revision (read-only)

387f00da713a42b0be1c7d60790c445a

Pie chart ICE7

0 stars1🌍 Public
LLakshmiVandanaNunna
Last edited Mar 24, 2022
Created on Mar 23, 2022
Forked from Pie chart RDW

This pie chart ranks the top five U.S. states by Democratic votes in the 2020 election, showing their relative shares of total votes among those states. Each slice is labeled with its state name, and the chart uses a categorical color scale to distinguish slices. Built with D3 v6, the visualization loads CSV data via `d3.csv`, sorts it descending by Democratic votes, and slices the first five rows. It renders slices using `d3.arc` and positions labels with `arc.centroid`, all within an SVG container.

AI-generated description