Cheap Tricks for Interaction
✓ Published0🌍 Public
This interactive choropleth displays world countries colored by name using a categorical color scheme. The visualization uses D3's `geoPath` and `geoNaturalEarth1` projection to render the map from TopoJSON data loaded from the world-atlas package, with country names from a TSV file. A zoom interaction, implemented via D3's `zoom` API, lets users pan and scale the map. Hovering over a country turns it red via CSS, while the underlying sphere remains blue.
AI-generated descriptionMIT Licensed