Skip to main content
Public

Share visualization

Loading preview…

Cheap Tricks for Interaction

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

Cheap Tricks for Interaction

0
Ssravyasona
Last edited Jul 25, 2020
Created on Jul 25, 2020

This interactive map displays world countries as colored SVG paths on a globe, with country names shown as tooltips on hover. Built with D3 v5 and topojson, it uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` for generating vector outlines. A `d3.zoom` interaction enables pan and zoom transformations on the map group. Country names are joined from a TSV file (world-atlas 50m) using ISO numeric codes, and hover effects change fill to red via CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed