{"version":"1.0","type":"rich","title":"Nested Elements","description":"This example demonstrates nested SVG elements—groups containing circles and text—animated through a fruit bowl metaphor. D3 selections and data joins update the visualization as fruits are eaten or replaced, with transitions smoothly moving groups and resizing circles. The code imports `scaleOrdinal` for color and radius mapping, alongside `select` and `range` from d3.v7, and uses `transition().duration()` to animate changes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cc0ccced1ce34ad0b1e263b471f91ec8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}