Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart For Low Income In United States

Public visualization

Viewing a saved revision (read-only)

2f026c0d3edb407fa4c40232d20f31e5

Fork of Pie Chart For Low Income In United States

0 stars1🌍 Public
GGARIDIDEEKSHITHREDDY
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example presents a pie chart visualizing low-income reading scores across U.S. states, with each slice’s size and color representing a state’s value. The chart uses D3 v5 to fetch CSV data from a GitHub gist, then applies `d3.pie` and `d3.arc` to generate and position the slices, while `scaleOrdinal` assigns categorical colors. A legend with colored rectangles and formatted numbers accompanies the SVG rendering, and slice labels are placed using arc centroid calculations.

AI-generated description