Skip to main content
100%

Tricks for Interaction

✓ Published1🌍 Public
Mmla341
Last edited Jul 1, 2020
Created on Jun 23, 2020

This visualization displays a zoomable, natural Earth projection map with countries colored light green. Users can pan and zoom the map using the d3.zoom behavior, which applies a transform to the SVG group containing all geographic paths. The map data comes from the world-atlas TopoJSON files, with country names joined from TSV data. Hovering over any country turns it red, implemented through CSS :hover rules. The visualization uses d3.geoPath, d3.geoNaturalEarth1, and the topojson.feature API to render the geographic features.

AI-generated description
MIT Licensed

Similar vizzes