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 stars2๐ŸŒ Public
TTejucmandava
Last edited Apr 9, 2023
Created on Apr 9, 2023

This example renders a world map as an SVG using D3 v5 and TopoJSON. It projects country boundaries from the world-atlas dataset with `geoEquirectangular` and draws them via `geoPath`. The map includes a blue sphere backdrop and green countries that turn orange on hover through CSS. It uses `select`, `json`, and `feature` to load and convert the TopoJSON data into GeoJSON features for display.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed