Skip to main content
100%

Let's make a map with D3

✓ Published1🌍 Public
NNikki-gea
Last edited Aug 26, 2020
Created on Aug 26, 2020

This example renders a world map using D3 v5 and TopoJSON, loading country boundaries from the World Atlas TopoJSON dataset. It displays the Earth’s sphere in light blue and each country as a gray filled path with white strokes, projected using a Natural Earth projection. The code employs `d3.geoPath` with a `d3.geoNaturalEarth1` projection, and `topojson.feature` to convert TopoJSON data into GeoJSON features for SVG path generation.

AI-generated description
MIT Licensed

Similar vizzes