Skip to main content
100%

Cheap Tricks for Interaction

✓ Published3🌍 Public
Jjons288
Last edited Oct 27, 2018
Created on Sep 23, 2018

A world map rendered in indigo with black country borders uses interactive clicks to highlight a selected nation in red. Built with D3.js version 5 and TopoJSON, the visualization loads geographic data from the world-atlas package, combining 50m resolution TopoJSON shapes with a TSV file for country names. The d3.geoPath and d3.geoNaturalEarth1 projection draw the landmasses, while a click handler updates the fill color and logs to the console.

AI-generated description
MIT Licensed

Similar vizzes