Skip to main content
100%

Fork of World Map

✓ Published0🌍 Public
AAmrit Adhikari
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from Map

This example displays two static choropleth-style maps: a world map using the Natural Earth projection and a US states map using the Albers USA projection. It demonstrates how to load TopoJSON data from the `world-atlas` and `us-atlas` datasets, convert it to GeoJSON with `topojson.feature`, and render it with `d3.geoPath` and `d3.geoNaturalEarth1` or `d3.geoAlbersUsa`. Both maps include graticule lines and interactive title tooltips showing region IDs.

AI-generated description
MIT Licensed

Similar vizzes