Skip to main content
Public

Share visualization

Loading preview…

17_Make a World Map

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

17_Make a World Map

1
FFMajid-ops
Last edited Dec 18, 2020
Created on Dec 18, 2020

This example shows a world map rendered with D3 using the Natural Earth projection. The map displays country boundaries as light green filled paths with subtle black strokes, set against a blue sphere background. The code loads GeoJSON data from the world-atlas TopoJSON file, converts it to geographic features with `topojson.feature`, and projects it using `d3.geoNaturalEarth1()`. The SVG paths are generated via `d3.geoPath()` and attached through a data join.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed