Cheap Tricks for interaction
✓ Published0🌍 Public
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 descriptionA Minimal Example illustrating the basic structure of a Vizhub visualization.
MIT Licensed