{"version":"1.0","type":"rich","title":"Bowl of Fruits-General Update Pattern","description":"This visualization demonstrates the general update pattern for D3.js data manipulation. It shows a bowl of fruits whose contents change over time—initially displaying five apples, then removing one apple, replacing another with a lemon, and finally removing a second apple. The example uses D3 v5’s `selection.selectAll`, `.enter()`, `.merge()`, and `.exit()` methods to handle DOM updates, with the `fruitBowl` function managing the SVG circle and text elements. The `scaleOrdinal` color and radius scales map fruit types to visual properties.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/41f6f98c988149e6bf870f3a7877227d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}