Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Points on a Map

Public visualization

Viewing a saved revision (read-only)

4b92652b9e134360ac70c184ead6b701

Fork of Points on a Map

0 stars0🌍 Public
Eevers-codeshop-ai
Last edited Jun 20, 2021
Created on Jun 20, 2021
Forked from Points on a Map

This example displays a natural Earth projection world map with graticules and country boundaries, overlaid with small semi-transparent teal dots representing cities exceeding 50,000 in population. The map is rendered as SVG using React, with D3’s `geoNaturalEarth1` projection, `geoPath`, and `geoGraticule` for the geographic features. City coordinates are projected from latitude and longitude into screen positions, and the underlying data comes from Simplemaps’ World Cities Database, while land and interior boundaries derive from the World Atlas TopoJSON. Asynchronous data fetching is handled via custom hooks using D3’s `csv` and `json` loaders.

AI-generated description

A world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.

Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.