Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Click the Countries for Interaction

Public visualization

Viewing a saved revision (read-only)

68fd3ce05bb04b58aacbbbdd8011a3f7

Click the Countries for Interaction

0 stars1🌍 Public
RRobert Curtis
Last edited Nov 8, 2018
Created on Sep 26, 2018

This interactive map illustrates world countries and allows users to click individual nations to toggle their fill color between light green and yellow. Built with D3 v5 and TopoJSON, it renders geographic features using the `geoNaturalEarth1` projection and `geoPath` generator. The visualization includes zoom and pan capabilities via `d3.zoom`, with country name tooltips from a TSV dataset. Clicking a country updates an array of selected IDs, triggering a re-render that recolors the clicked nation.

AI-generated description