Skip to main content
100%

Cheap tricks for interaction

✓ Published0🌍 Public
BbeauMarko
Last edited Aug 17, 2020
Created on Aug 17, 2020

A world map rendered with D3's geoNaturalEarth1 projection and SVG paths shows country boundaries as light green shapes over a dark blue sphere. Interactive tooltips appear when hovering over a country, and the fill color changes to red on hover via CSS. The example demonstrates how simple CSS hover effects and SVG title elements provide low-cost interaction, using d3.geoPath for map geometry, topojson for feature extraction, and a TSV file for country name lookup.

AI-generated description
MIT Licensed

Similar vizzes