Skip to main content
100%

World Map with D3.js!

✓ Published0🌍 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
MIT Licensed

Similar vizzes