Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Simplified Map

Public visualization

Viewing a saved revision (read-only)

9a9365d777c5490b9e46aa11c1d102cb

Simplified Map

0 stars0🌍 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.