Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Viewing a saved revision (read-only)

2719a5335217485b92b891f2865cf2d9

Cheap Tricks for Interaction

0 stars0🌍 Public
MMaciek Sitkowski
Last edited Dec 20, 2020
Created on Dec 20, 2020

This interactive world map displays countries in light green with black borders, highlighting them in red on hover. It uses a geographic projection to render the map and provides zooming capabilities through the `d3.zoom` API, which applies a transformation to the map group on zoom events. Country boundaries are drawn using `d3.geoPath` with the `geoNaturalEarth1` projection, and country names are retrieved from a TSV file while geometry comes from a TopoJSON dataset, processed via the `topojson.feature` function.

AI-generated description