Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Wwangjonathan
Last edited Nov 7, 2018
Created on Sep 22, 2018

This interactive map displays world countries with hover and click interactions. Hovering highlights a country and displays its name in a large text label above the map, while clicking locks the selection and turns the country red. The visualization uses D3 v5 with `d3.geoPath`, `d3.geoNaturalEarth1`, and `d3.zoom` to render and manipulate the SVG projection, pulling geographic data from TopoJSON world-atlas files.

AI-generated description

I have made the minimum function with highligh after clicking. Another extra is the showing the selected/hover country on the text label above the map.

MIT Licensed

Similar vizzes