{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3 general update pattern for dynamic data visualizations. It renders a bowl of fruit as circles in an SVG, with apples colored red and lemons yellow, using `scaleOrdinal` for both color and radius mappings. The `fruitBowl` function applies the enter, update, and exit selections through chained `.enter()`, `.merge()`, and `.exit()` calls. Timed `setTimeout` events trigger data mutations—removing fruits, changing an apple to a lemon, and filtering elements—which are then handled by the update pattern in the React-based application.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6bfb9951228a4dce93bf7cf05ce98ba5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}