🌍 Public
Viewing a saved revision (read-only)
51ff69c9f3fd442a8477265f0eecbe33
Cheap Tricks for Interaction
This example shows an interactive world map, where hovering over a country highlights it in red and reveals its name in a tooltip. The map uses a natural Earth projection rendered as SVG paths, with a blue sphere background. Interaction is powered by D3's `zoom` module for pan and zoom, while country boundaries and names come from the `world-atlas` dataset loaded via D3's `tsv` and `json` helpers. The `topojson` library converts the raw topology data into geoJSON features for rendering.
AI-generated description