Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map using Mercator Projection

Public visualization

World Map using Mercator Projection

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed