Skip to main content
100%

Simple World Map

✓ Published0🌍 Public
JJunying Li
Last edited Sep 27, 2021
Created on Sep 19, 2021

This example displays a simple world map using D3.js v5 and TopoJSON, rendering countries as green polygons against a blue sphere background. It uses `d3.geoPath` with the `geoNaturalEarth1` projection to convert geographic coordinates into SVG paths, and `topojson.feature` to extract country boundaries from the world-atlas dataset. The visualization is static, with no interaction or zoom enabled, focusing solely on the geographic outline of continents and national borders.

AI-generated description

Draw a simple world map using D3.js

MIT Licensed

Similar vizzes