Skip to main content
100%

Points on a Map

✓ Published1🌍 Public
PPhronesis
Last edited Nov 24, 2021
Created on Nov 22, 2021
Forked from World Map

This example plots the world’s most populous cities as translucent circles over a natural Earth projection, with circle size scaled by population using a square-root scale. A D3 geoPath renders country landmasses, graticules, and interior borders from World Atlas TopoJSON data, while React manages the component state and SVG rendering. City coordinates are projected via geoNaturalEarth1, and each point includes a tooltip showing city name, country, and longitude/latitude. Hovering over a country reveals its name through an SVG title element.

AI-generated description

Using React, D3, and World Atlas' TopoJSON data to display the world's most populous cities.

Mouse over a country to have it's information displayed.

MIT Licensed

Similar vizzes