🌍 Public
Viewing a saved revision (read-only)
763961f366d546dd8159b7915e8cc453
Fork of 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