Skip to main content
Public

Share visualization

Loading preview…

FORK OF WORLD MAP FOR TOPOJSON DATA

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 FOR TOPOJSON DATA

0
Cchandrakalavanukuri
Last edited Apr 5, 2022
Created on Apr 5, 2022

This example visualizes a world map using TopoJSON data, displaying countries as blue shapes with orange outlines on a pink globe background. It leverages the d3.geoNaturalEarth1 projection and d3.geoPath to render geographical paths, with the TopoJSON feature function converting the data into usable features. The map is drawn as an SVG, sourced from a GitHub-hosted JSON file, and styled via CSS classes for the globe and country boundaries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed