Skip to main content
100%

Let's make a map

✓ Published0🌍 Public
Kkenneth
Last edited Sep 9, 2019
Created on Sep 9, 2019

This example displays a world map rendered as SVG paths, showing country boundaries in a simple Mercator projection. The visualization loads geographic data from a world-atlas TopoJSON file and converts it to GeoJSON using the topojson `feature` method. It uses d3.json to fetch the data, d3.geoMercator for the projection, and d3.geoPath to generate the path data, appending each country as a `<path>` element to the SVG.

AI-generated description

Make a map

MIT Licensed

Similar vizzes