Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published0🌍 Public
IIgor Bojković
Last edited Aug 23, 2023
Created on Aug 19, 2023

This fork of the "Cheap Tricks for Interaction" example displays world countries on an orthographic projection, colored by continent using an ordinal color scale. The map is built with `d3.geoPath` and data from `world-atlas`, with country names from a matching TSV file. A custom drag interaction, implemented via `d3.drag`, allows users to move a temporary green rectangle across the screen, while the underlying sphere rotation code remains commented out.

AI-generated description
MIT Licensed

Similar vizzes