Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
PPiotr Paszek
Last edited May 3, 2021
Created on May 3, 2021
Forked from Choropleth Map

This example displays world country outlines colored by population data from the UN, overlaid with a custom color legend. The map uses d3.geoNaturalEarth1 for projection and d3.geoPath to render geographic features, with zoom interaction via d3.zoom. Circles positioned using d3.geoCentroid appear on country centers. The legend demonstrates a reusable d3 module with SVG rendering, while data loads through d3.csv and d3.json with topojson.feature.

AI-generated description
MIT Licensed

Similar vizzes