Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Topojson World Map

Public visualization

Viewing a saved revision (read-only)

235c5e378080424dafc91bc47ad58867

Topojson World Map

0 stars0🌍 Public
SSyed Araib Karim
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from HTML Starter

This example renders a world map using a natural Earth projection, displaying countries as filled polygons on a light blue sphere. The visualization loads geographic data from the world-atlas TopoJSON file and converts it to GeoJSON features using `topojson.feature`. It draws the map with SVG paths generated by `d3.geoPath` and `d3.geoNaturalEarth1`, styling the sphere and countries via CSS classes for a clear, colorful presentation.

AI-generated description