Interaction tricks
✓ Published1🌍 Public
This example shows a world map with each country colored green, shading to red on hover. Users can click and drag to rotate the map using an orthographic projection, with the sphere background and country boundaries rendering as SVG paths. The map loads country names from a TSV file and geometry from a GeoJSON TopoJSON source, using D3's `geoOrthographic` projection, `geoPath`, `zoom` interaction, and the `topojson` feature conversion API.
AI-generated descriptionMIT Licensed