{"version":"1.0","type":"rich","title":"Nested elements","description":"A row of apples and a lemon sit in a blue bowl, rendered as nested SVG groups containing circles and text labels. The fruit update over time as items are removed and one apple changes to a lemon, demonstrating data joins with `selection.enter`, `merge`, and `exit`. The code uses d3 v5's `scaleOrdinal` for color and radius, and `selection.select` to access nested elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e6960fcc7a004cd48f543022296512b2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}