Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of map exemple

Public visualization

Fork of map exemple

0 stars0🌍 Public
KKinjal-Goyani
Last edited Oct 20, 2022
Created on Oct 20, 2022
Forked from map exemple

This example displays a zoomable world map where each country is filled with a color intensity based on its population estimate. The choropleth uses a linear scale transitioning from light to dark red, with hover effects changing the fill to purple. It builds the map using `d3.geoPath` with a `geoMercator` projection and TopoJSON data from world-atlas, while population and country names come from a TSV file. Zoom interactions are handled through d3’s `zoom` behavior, transforming SVG paths.

AI-generated description

map

Comments

Sign in to join the discussion.

MIT Licensed