π Public
Viewing a saved revision (read-only)
d30eb090ac8b4255b7b5b0b3eafc2fc6
ICE-8(11630234)
This visualization displays a world map using an orthographic projection, with country boundaries rendered as SVG paths. Users can click on any country to switch projections: clicking the United States switches to a Mercator projection, while clicking any other country returns to the orthographic view. The map supports dragging to rotate the globe and zooming via `d3.drag` and `d3.zoom`. Data is loaded from the World Atlas TopoJSON files, with country names mapped from TSV data. The code uses `d3.geoPath`, `d3.geoOrthographic`, `d3.geoMercator`, and `d3.geoGraticule`.
AI-generated description