Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of map

Public visualization

Fork of map

0 stars0🌍 Public
TTekmal-Bhavana
Last edited Apr 12, 2023
Created on Apr 12, 2023
Forked from World Map

This visualization presents a world map using a geographic projection, rendering countries as black shapes with red outlines on a light blue sphere. It highlights countries on hover by changing their fill to orange. The code uses D3 v5 for geo-spatial functions like `geoEquirectangular`, `geoPath`, and `select`, while TopoJSON’s `feature` method converts the external GeoJSON data to map features. The map data is sourced from a world-atlas JSON file hosted via CDN.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed