🌍 Public
Viewing a saved revision (read-only)
a02f45b5ce6248888157bd0a711229f0
Let's make a map
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 descriptionMake a map