Climate World Map Cities
This interactive globe visualizes how climate change affects agricultural crop yields across global cities from 1990 to 2024. A dropdown menu filters the data by year, while drag-and-zoom controls enable panning and scaling of the orthographic projection. Circle radii encode crop yield values, with spiral offsets separating overlapping cities. Built with D3.js, it uses `d3.geoOrthographic`, `geoPath`, and `geoGraticule` to render the map, and `d3.drag` and `d3.zoom` for interaction. The data comes from a modified Kaggle dataset of climate change impacts on agriculture.
AI-generated descriptionA globe with panning and zooming showing modified data from Climate change and Agriculture Dataset, and the Original Dataset can be found here.
The dataset was modified to have a key city with each distinct country-region pair that are known for their agriculture within the region. The cities were determined by ChatGPT, and then the Latitude and Longitude were found based on the cities.
TODO: tooltip is not disappearing if the mouse stays and zooming