Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a World Map with D3!

Public visualization

Let's make a World Map with D3!

0 stars1🌍 Public
Nnkohdatavis
Last edited Jul 25, 2020
Created on Jul 25, 2020

A world map is rendered as a collection of individual country paths, each filled with light green and outlined with a subtle black stroke, against a blue sphere background. The visualization uses D3 v5 and TopoJSON to load and convert world atlas data from a remote unpkg URL. The code employs `d3.geoNaturalEarth1` for the projection, `d3.geoPath` to generate SVG path strings, and the `feature` function from TopoJSON to transform the TopoJSON format into GeoJSON for rendering.

AI-generated description

Let's make a World Map with D3

Comments

Sign in to join the discussion.

MIT Licensed