{"version":"1.0","type":"rich","title":"Bowl of Fruit — Nested Elements","description":"Five fruit appear as red and yellow circles with labels, showing how D3’s data-join and nested elements handle updates. Using `d3.scaleOrdinal` for color and radius, the example appends `g` groups containing `circle` and `text` nodes, then modifies the array over time to trigger enter, update, and exit transitions. The SVG rendering relies on `selection.merge` and keyed data to animate changes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b4e94284181d46ceb30621548715bf6a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}