Skip to main content
100%

Fork of Pie Chart (with labels) with d3

✓ Published0🌍 Public
SSweetierams
Last edited Jul 2, 2022
Created on Jul 2, 2022

This pie chart displays the top 10 US states by GDP, with each slice representing a state’s economic output. The visualization uses d3.arc to generate the pie geometry and d3.pie to compute the arc angles, while a hover tooltip with a bounding box reveals state names and values. It is built with React, loading data via d3.csv from a remote CSV file, and rendered as SVG. The legend and slice colors use d3.scaleOrdinal with d3.schemeCategory10.

AI-generated description
MIT Licensed

Similar vizzes