Map of Nuclear Explosions with a Color Legend and Interactions
This map visualization plots nuclear explosions by latitude and longitude using a Natural Earth projection from d3.geoNaturalEarth1 and d3.geoPath. Point size encodes yield magnitude via d3.scaleSqrt, while color represents the responsible country. Hovering any point reveals its name and coordinates in a tooltip. The color legend supports interactive filtering—hovering a legend entry dims and displays only that country’s explosions using React state and d3.scaleOrdinal. Data comes from a nuclear explosions CSV and the World Atlas TopoJSON.
AI-generated descriptionThis is a visualization of the dataset Nuclear Explosions that shows where each deployment went off by latitute and longitude. The world map behind the points is a Natural Earth type map using the World Atlas TopoJSON. When the user hovers over each point, they can see the name, latitude, and logitude of that deployment. The size of each point directly corresponds to the magnitude of the explosion (the bigger the explosion, the bigger the point)! The color of each point also corresponds to which contry was responsible for the deployment of that nuclear device. Lastly, the user can interact with the color legend; when one element of the legend is hovered over, the map will only show those points.