Skip to main content
100%

Simplified Map

✓ Published0🌍 Public
EErica Rabinovich
Last edited Feb 26, 2024
Created on Feb 26, 2024
Forked from HTML Starter

This example renders a simplified world map using SVG paths generated by d3.geoPath with an equirectangular projection. It loads TopoJSON data from a gist, converts it to GeoJSON with the topojson.feature API, and draws each country as a filled path with white borders. The visualization demonstrates a minimal React integration, where a useEffect hook fetches the data and D3 selects the existing SVG element to bind and render the geographical features.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes