Skip to main content
100%

Map with D3.js

✓ Published1🌍 Public
Ssiddharth171
Last edited Jul 25, 2020
Created on Jul 25, 2020

This map visualization displays the countries of the world in a natural Earth projection, with oceans filled in steel blue and landmasses in light green with subtle black outlines. The map uses a D3.js geoPath and geoNaturalEarth1 projection, alongside the topojson library’s feature function to convert the world-atlas TopoJSON data into GeoJSON features for rendering. Each country is drawn as an SVG path within a 960x500 canvas, and the code also generates a sphere background to represent the Earth’s surface.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes