Skip to main content
Public

Share visualization

Loading preview…

Fork of Europe Map ICE8

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Europe Map ICE8

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

Comments

Sign in to join the discussion.

MIT Licensed