Fork of State Map with Population
✓ Published0🌍 Public
This fork draws two maps side by side. A world map uses an Aitoff projection to visualize 2014 GDP data by country, with a quantized blue color scale and a legend, loading geographic and economic data from the World Atlas, a gist, and Plotly’s datasets. A second U.S. choropleth map displays December 2024 population data, attempting to fetch FRED series JSON via a helper function with an API key, otherwise relying on fallback data. The code uses d3.geoPath, d3.geoAitoff, d3.scaleQuantize, and d3.json, with tooltips showing values on hover.
AI-generated descriptionMIT Licensed