Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map with D3.js!

Public visualization

World Map with D3.js!

0 stars0🌍 Public
DDINESH SAI BOPPANA
Last edited Jul 7, 2022
Created on Jul 7, 2022
Forked from D3 Starter

This visualization displays a world map with countries rendered as pink shapes outlined in red against a blue spherical background. It uses d3-geoPath with an equirectangular projection to draw geographic features, and topojson's feature method to extract country polygons from the Natural Earth dataset loaded via world-atlas. The sphere background is created by passing a Sphere geometry object to the same path generator. Hovering highlights individual countries by changing their fill color.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed