{"version":"1.0","type":"rich","title":"Bowl of Fruit: Nested Elements","description":"A nested selection pattern animates a bowl of fruit as apples are eaten and replaced by lemons. D3’s `scaleOrdinal` maps fruit types to circle radii and fill colors, while data joins with `merge` update group transforms and child circle and text elements. The example uses `d3.select`, `range`, and SVG rendering to show enter, update, and exit behavior.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9cfc7fd9a4fd4a3799e280cf25afc0d0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}