Cheap Tricks for Interaction
✓ Published1🌍 Public
This example presents a zoomable, orthographic globe made of country polygons with hover highlighting. Users can click a country to select it, triggering a re-render of the map. The visualization is built with D3.js v5, using `d3.geoOrthographic` for the projection, `d3.geoPath` for rendering, and `topojson.feature` to convert TopoJSON data from the world-atlas package into GeoJSON features. Country names come from a TSV file, and SVG is used for the map.
AI-generated descriptionMIT Licensed