{"version":"1.0","type":"rich","title":"Bowl of fruit General Update Pattern 2","description":"A bowl of fruit demonstrates the general update pattern in D3, showing how apples and lemons are added, removed, and modified in an SVG visualization. The code uses D3 v6 with `selection.enter`, `selection.merge`, and `selection.exit` to handle data joins, while `scaleOrdinal` maps fruit types to colors and radii. Over timed intervals, the example pops apples from the array, replaces one apple's type with a lemon, and filters out another, with each change re-rendering the bowl and updating the circle and text elements accordingly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4f522e9f22024487af21f59a5906f1f0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}