Skip to main content
100%

Fork of World Map with D3.js!

✓ Published0🌍 Public
NNaimisha-M
Last edited Jul 9, 2022
Created on Jul 9, 2022

This example renders a world map using the D3.js library. It draws an equirectangular projection of the globe with a blue sphere and green landmasses, and it highlights countries in orange when hovered over. The map is generated from TopoJSON data loaded from the world-atlas package, which is converted to GeoJSON using the `feature` method. The visualization uses `d3.geoEquirectangular` for the projection, `d3.geoPath` to generate SVG paths, and CSS hover styles for interaction.

AI-generated description
MIT Licensed

Similar vizzes