Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart

Public visualization

Pie Chart

0 stars1🌍 Public
Ssrivalliwuyyuru
Last edited Jul 2, 2022
Created on Jul 1, 2022

This pie chart displays the top 10 US states by GDP, with each slice sized proportionally to the state’s economic output. The visualization is built with React and D3 v4, using `d3.pie` and `d3.arc` to generate SVG paths. Hovering a slice highlights it and reveals a tooltip with the state name and value. A legend alongside the chart identifies each state, while the data is sourced from a CSV file containing state GDP figures.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed