Skip to main content
100%

ICE7-Pie Chart

✓ Published7🌍 Public
KKolliTeja
Last edited Mar 27, 2022
Created on Mar 27, 2022

This visualization displays U.S. state populations as a pie chart, showing each state’s population in millions with color-coded slices and a matching legend. It uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` to generate and style the chart from CSV data loaded via `csv`. The SVG rendering includes slice labels positioned with `arc.centroid` and a legend built from appended `rect` and `text` elements. The data source is a GitHub gist URL.

AI-generated description
MIT Licensed

Similar vizzes