Skip to main content
100%

Lets make a map with D3.js

✓ Published0🌍 Public
JJonathan Phelps
Last edited Jan 29, 2020
Created on Jan 29, 2020

This example shows a world map rendered as an SVG using D3.js v5 and TopoJSON. It loads world country boundaries from the world-atlas package and converts the TopoJSON to GeoJSON with the `feature` function, then draws the map with `d3.geoPath`. The visualization is minimal, with a 960-by-500 viewport and hidden page margins, and demonstrates the basic pipeline of fetching geographic data and projecting it onto the screen.

AI-generated description
MIT Licensed

Similar vizzes