Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Map Interaction Assignment

Public visualization

Map Interaction Assignment

0 stars0🌍 Public
MMukund Khandelwal
Last edited Oct 16, 2018
Created on Sep 26, 2018

This example displays an interactive world map using an equirectangular projection rendered as SVG paths. Clicking a country highlights it, while hovering turns countries yellow. The visualization loads geographic data from the World Atlas TopoJSON and TSV datasets, using `d3.geoPath` with `geoEquirectangular` projection and the TopoJSON `feature` API to extract country boundaries. Styles for the sphere background and country fills are defined in a separate CSS file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed