{"version":"1.0","type":"rich","title":"need some fruit - General Update Patterns","description":"This example demonstrates D3.js general update patterns by rendering a bowl of fruit as colored circles that change over time. The visualization shows apples and lemons entering, exiting, and updating their position, size, and color through staggered transitions. Using the `data` join with key functions and `merge`, the code animates SVG circles via `transition().duration()`, applying `scaleOrdinal` color and radius scales based on fruit type. The data source is a JavaScript array modified with `setTimeout` calls to simulate eating and replacing fruit.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9d825238bbf7419781d5603ad9d1fb1f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}