{"version":"1.0","type":"rich","title":"bowl of fruit - general update pattern","description":"Five circles represent apples that are added, removed, and change type in a bowl-of-fruit animation. Using D3.js v5’s data join, enter, merge, and exit selections, the example demonstrates the general update pattern with smooth 1000-millisecond transitions. Circles on mouseover highlight their stroke via a selected fruit state, while ordinal scales map fruit type to color and radius. The code shows enter-update-exit cycles through `setTimeout` calls that modify the fruits array.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ffd61af399a44835be008ffbb586e347?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}