Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of map exemple

Public visualization

Viewing a saved revision (read-only)

bfeb0cc6530e4dd3acfc8554b2f0c1b4

Fork of map exemple

0 stars0🌍 Public
Ppatratel
Last edited Nov 1, 2022
Created on Nov 1, 2022
Forked from map exemple

This example displays a world map with countries colored by population estimates using a linear color scale from red to dark red. The visualization uses `d3.geoMercator` projection and `d3.geoPath` to render geographic features from TopoJSON data provided by world-atlas. Population values and country names are loaded from a TSV file, while pan and zoom interactions are enabled through `d3.zoom`. Hovering over a country changes its fill to purple via CSS.

AI-generated description

map