{"version":"1.0","type":"rich","title":"world map d3 v4 zoom and pan","description":"This interactive world map built with D3 v4 supports zooming and panning via mouse gestures, letting users explore a choropleth of countries. The map uses SVG paths rendered from TopoJSON data, with country names overlaid as text. Zoom and pan are implemented through the d3.zoom behavior, which applies SVG transforms to the map group. Hovering over a country displays a tooltip with its formatted population value, using the d3-tip library. The map smoothly animates as users drag or scroll to zoom, making it easy to inspect individual regions or the entire globe.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5e4b62e9af57b4e7bd77ed9538dcd9cc?mode=embed\" width=\"960\" height=\"510\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":510,"cache_age":3600}