{"version":"1.0","type":"rich","title":"Cheap Tricks for Interaction","description":"This example demonstrates how a simple map of world countries can be made interactive through basic selection and styling. A Natural Earth projection, built with `d3.geoNaturalEarth1` and `d3.geoPath`, renders country boundaries from TopoJSON data enriched with names from a TSV file. Clicking a country toggles its class from `country` to `selectedCountry`, changing its fill to brown via CSS, while hovering turns it red. The interaction relies on D3 v5’s event handling and class manipulation, without complex zoom or panning logic.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d7d091008b174cd6ae74db82ae5a73fd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}