Skip to main content
Public

Share visualization

Loading preview…

Topojson 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

Topojson World Map

0
SSyed Araib Karim
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from HTML Starter

This example renders a world map using a natural Earth projection, displaying countries as filled polygons on a light blue sphere. The visualization loads geographic data from the world-atlas TopoJSON file and converts it to GeoJSON features using `topojson.feature`. It draws the map with SVG paths generated by `d3.geoPath` and `d3.geoNaturalEarth1`, styling the sphere and countries via CSS classes for a clear, colorful presentation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed