Skip to main content
100%

D3 world map example with TopoJSON to GeoJSON and circular indicators

✓ Published3🌍 Public
AAxVa 🐍 💪
Last edited Feb 21, 2024
Created on Feb 17, 2024

A world map rendered with D3 v7 displays Nobel Prize winner counts per country using circular indicators scaled by value. The visualization loads TopoJSON world data, converts it to GeoJSON via the `topojson` library, and projects it using `d3.geoEquirectangular` with `d3.geoPath`. Country data from a CSV file is joined to map geometries, with red semi-transparent centroids sized by a square-root scale. Interactive mouse events trigger tooltips showing country names and prize counts, while graticule lines and internal borders provide cartographic context.

AI-generated description
MIT Licensed

Similar vizzes