{"version":"1.0","type":"rich","title":"Bowl of fruit - General update pattern","description":"Five circles represent apples in a row, rendered as SVG via React and D3 v5. The visualization demonstrates D3's general update pattern: new fruit enters, existing fruit updates its position and color, and removed fruit exits with a shrink animation. Timed JavaScript events modify the fruit array, triggering transitions that move circles horizontally, change an apple to a lemon, and delete items. The code uses D3's selection, merge, and exit methods with a one-second transition duration for all changes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7cfb002fae064271b2d87f6cc43ab46e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}