Skip to main content
100%

Making a world map with city points React and D3

✓ Published1🌍 Public
Bblackbottt
Last edited Jun 1, 2022
Created on May 31, 2022

This example displays a world map with city points sized by population, built using React and D3. It shows countries with interior boundaries, a graticule, and a sphere background, with city circles projected using the d3.geoNaturalEarth1 projection. The map uses d3.json to load the world-atlas TopoJSON, d3.csv for city data, and d3.geoPath with d3.geoGraticule for rendering. City radii are scaled using d3.scaleSqrt, while d3.max determines the scale domain. The visualization is rendered as an SVG within a React component, using React hooks to manage asynchronous data loading.

AI-generated description

working with time weekly_temp SA

MIT Licensed

Similar vizzes