Skip to main content
100%

World Map

✓ Published0🌍 Public
CChinzorigt Ganbat
Last edited Sep 19, 2020
Created on Sep 19, 2020

This example displays an interactive world map using a natural Earth projection, with countries rendered as filled paths that highlight red on hover. The visualization loads geographic data from the world-atlas TopoJSON and TSV files, joining country names via ISO codes. It uses d3.geoPath with geoNaturalEarth1 for projection, d3.zoom for pan and zoom interactions, and TopoJSON’s feature method to convert topology to GeoJSON. The SVG sphere appears blue, while countries are light green with black strokes.

AI-generated description
MIT Licensed

Similar vizzes