Skip to main content
100%

Cheap Tricks for Interaction

✓ Published1🌍 Public
AArriannePandaraoan
Last edited Apr 23, 2020
Created on Apr 22, 2020

This example displays an interactive world map using D3.js to visualize countries with a graticule sphere. It loads geographic data from the world-atlas TopoJSON and TSV files, rendering country boundaries through `d3.geoPath` with a `d3.geoNaturalEarth1` projection. Hovering highlights countries in red, while the `d3.zoom` API enables pan and zoom interactions. The SVG output uses CSS for styling, with tooltips showing country names via D3's `select` and `append` methods.

AI-generated description
MIT Licensed

Similar vizzes