Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of world map

Public visualization

Fork of world map

0 stars0๐ŸŒ Public
Sshreyasribearelly@gmail.com
Last edited Apr 2, 2024
Created on Apr 1, 2024
Forked from D3 Starter

This fork of a world map visualizes country boundaries using a Natural Earth projection, with each nation rendered as a violet SVG path with black strokes on a pink sphere. The code loads TopoJSON country data from the world-atlas package, converts it to GeoJSON using `topojson.feature`, and projects it with `d3.geoPath` and `d3.geoNaturalEarth1`. Hover effects are styled via CSS, while the map is static without zoom or interaction.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed