{"version":"1.0","type":"rich","title":"Nested update","description":"A D3 v7 SVG animation demonstrates nested join updates for a fruit bowl. Five apples render as colored circles with labels; timed updates remove items, change an apple to a lemon, and filter the array. The code uses `selection.data()` with a key function, enter/merge/exit selections, and `selection.transition()` to animate circle radii and group transforms. The example imports `scaleOrdinal` from d3 for color and radius mapping, showing dynamic data-binding patterns.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e5688cf343394481b8926484edb95a4b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}