Skip to main content
100%

World Map using Mercator Projection

✓ Published0🌍 Public
Bbhargavarathod
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from ICE8 - World Map

This example displays a world map using the Mercator projection, rendered as SVG paths with countries filled in white on a blue ocean background. It loads GeoJSON country boundaries from a gist and uses `d3.geoMercator` for projection, `d3.geoPath` to generate the paths, and `topojson.feature` to convert TopoJSON data. A sphere outline is drawn first, and country paths are appended dynamically from the fetched dataset.

AI-generated description
MIT Licensed

Similar vizzes