Skip to main content
Public

Share visualization

Loading preview…

World Map D3 and React

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

World Map D3 and React

0
TTatyana Milanova
Last edited Oct 6, 2023
Created on Oct 6, 2023

This example presents a static world map rendered as an SVG, with landmasses in teal, graticules, and a light sphere background. Built with React and D3 v5, it uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` to generate paths, while `d3.geoGraticule` creates the grid lines. Data comes from the `world-atlas` TopoJSON, parsed via `topojson.feature` and `topojson.mesh` to draw country boundaries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed