Skip to main content
100%

Mapping : Part 2 - Cities

✓ Published1🌍 Public
Zzeeeeem
Last edited Oct 27, 2022
Created on Oct 26, 2022
Forked from Mapping: Part 1

This example visualizes worldwide cities as semi-transparent teal dots layered over a natural Earth projection map. It uses d3.geoNaturalEarth1 and d3.geoPath to render landmasses, graticules, and interior boundaries from the world-atlas TopoJSON dataset, while city coordinates are plotted via d3.csv from a cleaned world cities dataset. The React component fetches both data sources asynchronously using useEffect, then projects each city’s longitude and latitude into SVG circles with fixed pixel radii.

AI-generated description

A world Map using the World Map Topojson Dataset

MIT Licensed

Similar vizzes