Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Points on a map

Public visualization

Viewing a saved revision (read-only)

fbdd32b9336b44579d46f4545d2e938f

Points on a map

0 stars1🌍 Public
JJosh Zalcman
Last edited Mar 15, 2022
Created on Mar 15, 2022
Forked from World Map

This example displays city populations as scaled dots on a world map, using a square-root size scale to encode population values. The map is rendered with a D3 geoEqualEarth projection and geoPath, drawing land masses, graticules, and the sphere. Data comes from a CSV of world cities, fetched via D3’s `csv` method, while geographic topology is loaded as JSON and processed with TopoJSON’s `feature` and `mesh` functions. Circles are positioned by projecting each city’s latitude and longitude, with opacity set to 0.3 for a layered effect.

AI-generated description

A bare minimum HTML page.