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 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed