Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Jjons288
Last edited Oct 29, 2018
Created on Sep 25, 2018

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
MIT Licensed

Similar vizzes