Skip to main content
100%

world map

✓ Published1🌍 Public
Sshabbab01
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example displays a world map using a spherical projection. It renders countries as green paths with black outlines on a blue ocean sphere, and hovering over a country highlights it in orange. Built with D3 and TopoJSON, it uses `d3.geoEquirectangular` for projection and `d3.geoPath` to generate SVG paths from GeoJSON data sourced from the world-atlas countries-110m.json file. The visualization employs D3’s `select` and `json` methods to load and append geographic features to the SVG.

AI-generated description
MIT Licensed

Similar vizzes