Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of world map

Public visualization

Viewing a saved revision (read-only)

3143c306e405422e9d8fa01148880fd1

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.