Skip to main content
100%

Let's make a map with D3.js

✓ Published1🌍 Public
Ppkcesar
Last edited May 17, 2020
Created on May 17, 2020

This example displays a world map rendered as an SVG using a Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`. It draws countries in green with black strokes atop a blue sphere outline. The map loads TopoJSON data from the world-atlas package, converting it to GeoJSON with `feature` from the TopoJSON library. The visualization highlights the simplicity of projecting geographic data into an interactive-free static SVG using D3 v5.

AI-generated description
MIT Licensed

Similar vizzes