Skip to main content
Public

Share visualization

Loading preview…

Fork of World Map Simple

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 World Map Simple

0
NNavak94
Last edited Mar 15, 2023
Created on Mar 15, 2023
Forked from Simple World Map

This example displays a world map using the Natural Earth projection, with country boundaries, a graticule grid, and an outline. It loads GeoJSON data from the visionscarto world-atlas via `fetch` and converts it using `topojson.feature`. The map is rendered with `d3.geoPath` and `d3.geoNaturalEarth1`, drawing paths for each country, the graticule, and the map outline. The visualization uses a React-style state management loop where data loading is triggered lazily, updating the SVG when the fetched data becomes available.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed