Points on a Map
✓ Published1🌍 Public
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 descriptionUsing 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