Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Cheap Tricks for Interaction

0
Ccristian-media-animation
Last edited Aug 11, 2022
Created on Aug 11, 2022

This fork demonstrates interactive map exploration using a zoomable, hover-highlighted world map rendered with SVG. It visualizes country boundaries from the World Atlas TopoJSON dataset, projected using d3.geoNaturalEarth1 and drawn with d3.geoPath. The code uses d3.zoom to enable pan and zoom transformations, and CSS :hover styling turns countries red. A title tooltip displays each country’s name, sourced from the accompanying TSV file and matched by ISO numeric ID.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed