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
Vveagy
Last edited Sep 25, 2018
Created on Sep 25, 2018

This example displays a world map using geographic data from the world-atlas package, rendered as SVG paths. It shows countries with a blue sphere background and black country outlines. The visualization uses d3.geoPath and d3.geoNaturalEarth1 to project and draw the map, while topojson.feature extracts country boundaries. Clicking a country triggers an interaction that updates a selected country state, though no visual feedback is applied; instead, the click logs a message to the console. Hovering reveals country names via SVG title elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed