{"version":"1.0","type":"rich","title":"D3 General Update Pattern","description":"A D3 visualization demonstrates the general update pattern for handling data joins with animated transitions. It renders five circles as apples using SVG, with the `fruitBowl` function managing enter, update, and exit selections via `selection.data()`, `.enter()`, `.merge()`, and `.exit()`. Sequential timeouts trigger state changes: removing a fruit, replacing an apple with a lemon (changing color and radius via ordinal scales), and filtering out another item. Each update animates circle radii from zero to a scaled value over 1000 milliseconds using `.transition().duration()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/953361d5923946e1b5fa60cccaffd15d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}