{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern .js","description":"This example demonstrates D3's general update pattern by showing a bowl of fruit that changes over time. Apples and lemons render as SVG circles with distinct colors and radii via `scaleOrdinal` color and radius scales. The `fruitBowl` function binds fruit data to circle and text elements, using `enter`, `merge`, and `exit` selections to handle additions, updates, and removals. Timed `setTimeout` callbacks trigger transitions by eating apples, replacing one with a lemon, and filtering data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f16cb8e986bb404ca6f4dd09cb5280fe?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}