{"version":"1.0","type":"rich","title":"Leaflet with D3 popups","description":"A map of London displays two polygon regions, each opening a popup containing an animated bar chart built with D3. The charts summarize monthly data—such as swan bite injuries—using `d3.scaleLinear` and `d3.scaleBand` axes, with bars transitioning from zero height over one second. The example combines Leaflet’s `L.geoJSON` layer and `bindPopup` with a D3-created SVG, returning the popup content via a custom `chart` function that generates the visualization on demand.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-11602fac1ea66c2a6d7f78067b2deddb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}