Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of world map

Public visualization

Viewing a saved revision (read-only)

4c12f56fe8224cae9c084731b69c5200

Fork of world map

0 stars0🌍 Public
Bbhargavarathod
Last edited Mar 31, 2022
Created on Mar 31, 2022
Forked from world map

This visualization displays a world map using a natural Earth projection, with countries rendered in red against an orange sphere. The map is drawn as SVG paths using `d3.geoNaturalEarth1` and `d3.geoPath`, with geographic data loaded from a TopoJSON file hosted on GitHub. The code imports `feature` from `topojson` to convert the TopoJSON topology into GeoJSON features, then appends each country path to the SVG. Styling is defined in a separate CSS file, outlining countries with black strokes.

AI-generated description