Skip to main content
100%

Cheap Tricks for interaction

✓ Published0🌍 Public
Hhugomell
Last edited Jul 31, 2020
Created on Jul 31, 2020

This example shows an interactive world map visualization that renders countries as light green polygons on a blue sphere. Hovering over any country changes its fill color to red and displays the nation’s name via a tooltip. The map is built using D3 (d3.v5) with d3.geoPath and a d3.geoNaturalEarth1 projection, combining TopoJSON and TSV data from the world-atlas package. User interaction is enhanced by d3.zoom, enabling pan and zoom transformations on the SVG group.

AI-generated description

A Minimal Example illustrating the basic structure of a Vizhub visualization.

MIT Licensed

Similar vizzes