{"version":"1.0","type":"rich","title":"Bowl of Fruit - Gerenal Update Pattern (with text and the bowl)","description":"This example demonstrates the general update pattern in D3 v5, showing how to manage enter, update, and exit selections for a bowl of fruit. Apples and lemons are rendered as colored circles with labels, positioned above a rounded rectangle bowl. The data array changes over time as fruits are removed or replaced, and D3’s selection methods (`enter`, `merge`, `exit`) handle the updates smoothly. Color and radius mapping is done via `scaleOrdinal`, while SVG circles and text are bound to the fruit data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/932e953874e94918b25f6f229bd0ab79?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}