Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Map with D3.js!

Public visualization

Viewing a saved revision (read-only)

b1ca1a89a7014e71b069ad872ff5ee41

Fork of World Map with D3.js!

0 stars1🌍 Public
Rradhadevarapu
Last edited Mar 29, 2023
Created on Mar 29, 2023

This example renders a static world map using D3.js and TopoJSON. It loads country boundaries from a world-atlas TopoJSON file, converts them to GeoJSON with `feature()`, and draws them as SVG paths with a `geoEquirectangular` projection and `geoPath`. A dark blue sphere background and yellow countries with white strokes are styled via CSS, with a hover effect that highlights each country in bright yellow.

AI-generated description