Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-08 11603435

Public visualization

ICE-08 11603435

1 star0🌍 Public
0057SatvikDamera
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from ICE 08 11540905

This visualization displays a world map using an equirectangular projection, with countries rendered as black-filled paths against a blue ocean sphere. It loads geospatial data from the world-atlas TopoJSON file and converts it to GeoJSON using the `feature()` method from TopoJSON. The D3 v5 code employs `geoEquirectangular()`, `geoPath()`, and `.projection()` to generate the map geometry. Countries change to a red color on hover through a CSS `:hover` rule, and the SVG output is fixed at 960 by 500 pixels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed