{"version":"1.0","type":"rich","title":"Fruit - Update Pattern","description":"Five fruit circles enter as apples and animate through a join sequence using D3’s data-join, `enter`, `merge`, and `exit` selections. The code drives transitions for radius, color, and removal, with `d3.scaleOrdinal` mapping fruit type to size and hue. A timer updates the array, replacing an apple with a lemon and filtering out elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e63682a3cd1747d69ac3878bd3b95caf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}