Fork of country map
✓ Published0🌍 Public
This fork of a country map visualizes average annual sunshine hours per U.S. state using a choropleth map. Hovering over a state reveals its exact yearly hours via a tooltip, with colors ranging from yellow to red based on a sequential scale. The visualization uses D3 v7’s `d3.geoPath` and `d3.geoAlbersUsa` projection to render TopoJSON state boundaries from the us-atlas dataset, while `d3.scaleSequential` and `d3.interpolateYlOrRd` handle color encoding. A linear gradient legend displays the hour range.
AI-generated descriptionMIT Licensed