Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
CCassie
Last edited Jan 19, 2022
Created on Oct 11, 2021

This example displays a world map using a natural Earth projection, rendering countries as filled paths with a visible ocean sphere background. The map uses TopoJSON data from the World Atlas package, which is converted to GeoJSON via `feature`. The visualization is built with D3 v5, using `geoNaturalEarth1` for the projection, `geoPath` to generate SVG path data, and `select` to append the country and sphere elements to the SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes