Skip to main content
Public

Share visualization

Loading preview…

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

World Map

0
BBismark Kofi Owusu Sarfo
Last edited Oct 7, 2025
Created on Oct 7, 2025

This world map visualizes countries using a Natural Earth 110m TopoJSON dataset, with nations color-coded by continent: North America alternates blue and red, Europe alternates red and green, and Africa appears in black. The map uses D3’s `geoNaturalEarth1` projection and `geoPath` to render countries as SVG paths within a React component. Hovering over a country darkens its fill and thickens its stroke via mouseenter and mouseleave event handlers.

AI-generated description

World Map Visualization

An interactive world map built with React and D3.js using TopoJSON data.

Features

  • Renders a world map using the Natural Earth 110m dataset
  • Interactive hover effects on countries
  • Responsive SVG rendering

Comments

Sign in to join the discussion.

MIT Licensed