Skip to main content
100%

Cities on the World Map

✓ Published1🌍 Public
KKolezhannochka
Last edited Jan 15, 2022
Created on Jan 15, 2022
Forked from World Map

This visualization displays cities as semi-transparent circles on a natural Earth projection, with circle size encoding population using a square-root scale. It renders world land masses, graticules, and country interiors via `geoPath` and `geoNaturalEarth1`, while city positions are projected from latitude and longitude coordinates. Data comes from a CSV of world cities loaded with `d3.csv`, and the world atlas TopoJSON is parsed using `feature` and `mesh` from topojson. React manages the component state, with D3 version 7 providing all geographic and scaling utilities.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes