Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Cheap Tricks for Interaction

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed