Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
AAlice Hsieh
Last edited Feb 7, 2020
Created on Feb 7, 2020

This example displays a natural Earth projection map of the world, with countries rendered as light green SVG paths and the ocean sphere filled in blue. It loads geographic data from the world-atlas TopoJSON dataset using `d3.json`, converts the TopoJSON features to GeoJSON with `topojson.feature`, and projects them via `d3.geoNaturalEarth1` and `d3.geoPath`. The sphere outline is drawn using a GeoJSON Sphere object.

AI-generated description
MIT Licensed

Similar vizzes