Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bhargava-World Map using Mercator Projection

Public visualization

Viewing a saved revision (read-only)

119695ba9ac742efb0403b07b44a9936

bhargava-World Map using Mercator Projection

0 stars1🌍 Public
Bbhargavarathod
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from HTML Starter

This example displays a world map using the Mercator projection, with country boundaries rendered as white shapes against a blue ocean background. The visualization loads geographic data from a GitHub gist and uses D3 v5’s `geoMercator` and `geoPath` functions to project and draw the countries. TopoJSON’s `feature` method converts the source data into GeoJSON for rendering. The map is centered and scaled within an SVG element, with countries stroked in black for clear separation.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.