Skip to main content
100%

Map Interaction Assignment

✓ Published0🌍 Public
MMukund Khandelwal
Last edited Sep 26, 2018
Created on Sep 26, 2018

This visualization displays a world map using a natural Earth projection, with countries shaded in light green and oceans in blue. Clicking a country triggers an interaction where the selected country turns red, highlighting the user’s choice. The map is rendered as SVG, with geographic data from the world-atlas TopoJSON dataset and country names loaded from a TSV file. The code utilizes d3.geoPath, d3.geoNaturalEarth1, and d3.zoom, along with topojson.feature to process the data.

AI-generated description
MIT Licensed

Similar vizzes