Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Points on a Map

Public visualization

Points on a Map

0 stars1🌍 Public
PPedro Henrique Vanali
Last edited Jul 1, 2023
Created on Jul 1, 2023
Forked from World Example

This visualization displays world cities as semi-transparent points on an equal-Earth projection map, with circle size encoding each city’s population using d3.scaleSqrt. It renders the landmasses, graticules, and interiors from the World Atlas TopoJSON via d3.geoPath and topojson.mesh. City coordinates and populations come from a CSV loaded with d3.csv. Data loading is managed through React hooks (useState, useEffect), and the SVG scene is composed with React components, using d3.geoNaturalEarth1 for projection and d3.geoGraticule for grid lines.

AI-generated description

Scatter Plot of Data Canvas Sense Your City Dataset

Data: Canvas Sense Your City Dataset.

Comments

Sign in to join the discussion.

MIT Licensed