🌍 Public
Viewing a saved revision (read-only)
4c8e786bfb98413599b67666222ad57d
Fork of React & D3 Starter for 1.2
This choropleth map shows the percentage of electricity generated from renewable sources by U.S. state in 2024, using a D3.v7 geoAlbersUsa projection and d3.geoPath to render SVG state boundaries. Hovering over a state triggers a tooltip that displays the state name and its renewable percentage, with the data encoded in a hardcoded JavaScript object keyed by FIPS codes.
AI-generated description