Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Viewing a saved revision (read-only)

5b08b5478caf428aab97dba4f5d564f4

Cheap Tricks for Interaction

0 stars3🌍 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