🌍 Public
Viewing a saved revision (read-only)
ae2917e7048b45a48a72cc3a47764454
Fork of Pie Chart (with labels) with d3
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