Skip to main content
Public

Share visualization

Loading preview…

Activity 8 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

Activity 8 Map

0
UUmarani Vemula
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This example displays an interactive world map using D3 v5 and TopoJSON, rendering countries as SVG paths with a light green fill and indigo stroke. The map uses an equirectangular projection via `d3.geoEquirectangular` and `d3.geoPath`, pulling geographic data from the world-atlas countries-110m.json dataset. Users can zoom and pan the map through a `d3.zoom` handler that applies transforms to the SVG. Hovering over a country changes its fill to maroon, providing simple visual feedback.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed