Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Let's make a map with D3.js!

0 stars1🌍 Public
NNita
Last edited Nov 24, 2020
Created on Nov 24, 2020

This example demonstrates how to create a world map with D3.js, rendering countries as light-green SVG paths on a dark blue background. It uses the `geoMercator` projection and `geoPath` to convert geographic coordinates into SVG path data, while TopoJSON’s `feature` method extracts country boundaries from a world-110m dataset loaded from unpkg. The visualization focuses on a clean, minimal map with thin black strokes separating countries, making it a straightforward introduction to geo-spatial data visualization.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed