Skip to main content
100%

Fork of Europe Map ICE8

✓ Published0🌍 Public
TTekmal-Bhavana
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from Europe Map ICE8

This example renders a static map of Europe using React and D3 v5, drawing SVG paths from GeoJSON data fetched via `d3.json`. It applies a Mercator projection with `d3.geoMercator`, centered on coordinates [13, 52] and scaled to fit a 600×500 viewport. The `d3.geoPath` generator converts the geographic features into SVG path data, with each feature stroked in grey and filled white. The code explicitly requests state boundaries from a remote GeoJSON URL, indicating a straightforward choropleth-less basemap visualization.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes