Skip to main content
100%

Let's make a map with D3.js

✓ Published0🌍 Public
JJake
Last edited Jul 15, 2020
Created on Jul 15, 2020

This example shows a world map rendered as SVG paths with light green countries outlined in black. It uses D3.js v5 to load GeoJSON data from the World Atlas TopoJSON dataset via `topojson.feature`, then projects the coordinates using the `geoConicConformal` projection and draws the paths with `geoPath`. The code employs D3's `json` loader for the remote file and appends each country path to an SVG container.

AI-generated description
MIT Licensed

Similar vizzes