Skip to main content
100%

Africa Map ICE - 8

✓ Published0🌍 Public
Ppremsaiv
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from papa Africa map

This example displays a choropleth-style map of Africa using a red fill for each country, with black borders for distinction. It renders the geographic boundaries as SVG paths via the Mercator projection, set up with `d3.geoMercator` and scaled to fit the canvas. The map data is loaded asynchronously from a JSON file hosted on GitHub Gist, and each feature is drawn using `d3.geoPath` with the projection applied. The visualization is built with D3 v4 and includes the `d3-geo-projection` library for additional projection support.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes