Skip to main content
Public

Share visualization

Loading preview…

World Map Visualization

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 Visualization

0
Ssreeramyamini@gmail.com
Last edited Apr 3, 2024
Created on Apr 1, 2024
Forked from Activity 8 Map

This world map visualization displays all countries in an equirectangular projection, with each nation filled by a distinct color from a categorical scale and labeled with its name at its centroid. Built with D3 v5 and TopoJSON, it loads world-atlas data (countries-110m.json) and uses d3.geoPath with geoEquirectangular projection to render SVG paths. Countries brighten to yellow on mouseover and revert to their original color on mouseout, while a lightsteelblue sphere behind the landmasses provides geographic context.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed