Skip to main content
100%

Ghana Map Top

✓ Published0🌍 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
MIT Licensed

Similar vizzes