Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
TTrustPaul
Last edited Dec 4, 2020
Created on Dec 4, 2020

This example renders a world map using D3.js and TopoJSON. It draws country boundaries as SVG paths projected with a Mercator projection using `d3.geoMercator` and `d3.geoPath`. The map loads geographic data from the world-atlas countries-110m JSON file, converts TopoJSON to GeoJSON with the `feature` function, and appends each country path to the SVG. The visualization demonstrates a basic choropleth-free mapping workflow with styled countries and a blue sphere background.

AI-generated description
MIT Licensed

Similar vizzes