Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Map with D3.js!

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed