Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a World Map - basics

Public visualization

Let's make a World Map - basics

0 stars1🌍 Public
JJimMaltby
Last edited Oct 24, 2020
Created on Oct 23, 2020

A world map rendered with SVG paths using D3’s `geoMercator` projection and `geoPath` generator. The code fetches country boundary data from the world-atlas TopoJSON dataset, converts it to GeoJSON via `topojson.feature`, and draws each country as a separate path element. The map fills the entire SVG viewport with no styling, showing only the raw political borders. The example demonstrates the minimal setup for geographic visualization with D3 v5.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed