Skip to main content
100%

Add Detail on Click

✓ Published0🌍 Public
Aandrew-reid
Last edited Feb 25, 2017
Created on Feb 25, 2017

Clicking a region in this choropleth map of Jordan reveals the names of secondary cities and districts that are hidden by default. The map uses d3.geoAlbers to project GeoJSON administrative boundaries and labels the primary city for each region. A single click on any area triggers a smooth 400-millisecond transition that fades in the secondary-city labels; clicking again fades them out.

AI-generated description

Similar vizzes