{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3 general update pattern by animating a bowl of fruit rendered as SVG circles. Apples and lemons appear as red and yellow circles with different radii, with enter, update, and exit transitions over one-second durations. The code uses `selection.data` with a key function, `merge`, `transition`, and `attr` to handle dynamic changes. D3’s `scaleOrdinal` maps fruit types to colors and sizes, while `setTimeout` schedules fruit removal and type replacement events.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/daa517a2e501416e897577e14a81693c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}