Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Cheap Tricks for Interaction

Public visualization

Fork of Cheap Tricks for Interaction

0 stars0๐ŸŒ Public
RRahulChaitu999
Last edited Jun 21, 2022
Created on Jun 21, 2022

This interactive map displays world countries as SVG paths, with hover highlighting in red and a blue sphere background. Users can pan and zoom using d3.zoom, which applies transforms to the map group. The visualization loads world topology data from the World Atlas TopoJSON and country names from a TSV file, rendering with d3.geoNaturalEarth1 and d3.geoPath. The code uses d3.json and d3.tsv for data loading, and topojson.feature to extract country geometries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed