{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3 v5, showing how data joins manage enter, update, and exit selections for a simple fruit bowl visualization. Circles represent apples and lemons, with colors and radii mapped via ordinal scales. Using D3 selections and the `merge()` method, the code updates the SVG as fruits are removed, replaced, and filtered over timed intervals. The `fruitBowl.js` module exports a function that binds fruit data to circle elements, while `index.js` drives the state changes with `setTimeout`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ae9a938bc43348caa629fc66d7434e42?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}