Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ghana Map Top

Public visualization

Ghana Map Top

0 stars0🌍 Public
Mmeangreen0067@gmail.com
Last edited Apr 13, 2026
Created on Apr 12, 2026
Forked from React & D3 Starter

This example displays a Natural Earth projection world map using SVG paths. Countries are rendered in blue with white borders, set against a light blue ocean sphere and graticule grid. The code uses D3 v7’s `d3.geoNaturalEarth1` projection, `d3.geoPath`, and `d3.geoGraticule` to draw geographic features. It loads `world-atlas` TopoJSON data, converts it to GeoJSON via `topojson.feature`, and binds the resulting country features to path elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed