Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cheap Tricks for Interaction

Public visualization

Viewing a saved revision (read-only)

f24b080ee0e84dada00a7d153e28695f

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