Skip to main content
100%

zoom in/out and drag

✓ Published1🌍 Public
TTaylor
Last edited Oct 20, 2020
Created on Oct 13, 2020

This interactive world map visualizes the number of space launches at each location, with circle radius scaled by launch count. Users can drag to pan and zoom the map freely, while hovering over a circle reveals its exact launch count and location. Built with React and d3.v5, the visualization loads world topology data from a JSON file and launch statistics from a CSV source. It uses d3's `geoNaturalEarth1` projection, `geoPath` for map rendering, `scaleSqrt` for circle sizing, and a custom zoom interaction that transforms the SVG element. The map displays landmasses, graticules, and interiors as separate styled paths.

AI-generated description

The data shown here comes from Privatization of Space.

This visualization plots all the launch places on the world map, the radius of the circle is the number of launches at that exact spot. This map can also be dragged and zoom in/out. It also includes a tooltip.

I used some code in my old Zoom in/out and drag project.(I also fixed the overflow issue on that project as well)

Future changes: Some circles overshadows others therefore this needs to be changed. Plus I'm thinking of adding more to this.

MIT Licensed

Similar vizzes