Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

5b675b919a73459683e35acbd9b18223

World Map

0 stars0🌍 Public
RRevanthReddyG
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from World Map

This example displays a world map rendered as an SVG, with each country filled in green and outlined with blue strokes. It projects the geographic data using the Natural Earth projection via `d3.geoNaturalEarth1` and generates paths with `d3.geoPath`. The code loads country boundaries from a TopoJSON file using `d3.json` and the `topojson.feature` API, then binds the resulting GeoJSON features to SVG path elements. The map is drawn on a static canvas without interactivity.

AI-generated description