Skip to main content
100%

points on a map

✓ Published1🌍 Public
Sseanowh
Last edited Sep 29, 2021
Created on Sep 24, 2021
Forked from world map

This example visualizes the world's most populous cities as circles on a natural Earth projection, with circle size encoding population via a square-root scale. The map displays land masses, country borders, graticules, and a sphere outline, rendered as SVG using React components. The code loads world atlas TopoJSON data for geographic features and city data from a CSV file, employing d3.geoNaturalEarth1, d3.geoPath, and d3.geoGraticule for map generation, while React hooks (useState, useEffect) manage asynchronous data loading.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes