Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world map

Public visualization

world map

0 stars0🌍 Public
Rrakeshkommineni
Last edited Mar 29, 2023
Created on Mar 28, 2023

This interactive world map displays country boundaries using a natural Earth projection rendered as SVG paths. The visualization loads geographic data from a JSON file, converts it into GeoJSON features via the `topojson.feature` API, and draws each country with `d3.geoPath` and `d3.geoNaturalEarth1`. The sphere background is styled skyblue, while countries fill with a blue tint and cyan strokes. The code uses D3 v5’s selection and JSON loading methods to fetch remote data from a GitHub gist.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed