Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Mmhzahdeh@dons.usfca.edu
Last edited Jan 18, 2026
Created on Jan 18, 2026
Forked from HTML Starter

This example displays a choropleth of Middle Eastern countries on a Mercator projection, highlighting listed nations and showing their assigned ID numbers in a tooltip on hover. It loads world GeoJSON data and uses `d3.geoMercator` with `fitExtent` to focus the map on the relevant region. The SVG visualization relies on `d3.json` for data loading and `d3.select` for DOM interaction, with country shapes styled and tooltips positioned using CSS transitions.

AI-generated description
MIT Licensed

Similar vizzes