Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
Bbenben1996
Last edited Dec 28, 2018
Created on Dec 28, 2018

This example demonstrates how to create a world map with D3.js, displaying country boundaries as light green polygons on a dark blue background with a curved sphere outline. The visualization uses the `geoMercator` projection and `geoPath` to render geographic features as SVG paths. It loads world country data as TopoJSON from the world-atlas package, converts it to GeoJSON using the `feature` function from TopoJSON, and binds the resulting features to path elements. The map is static with no interaction or animation.

AI-generated description
MIT Licensed

Similar vizzes