{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the general update pattern in D3.js, showing how a set of circles is incrementally modified in response to changing data. It begins with five apples and then over time removes an apple, changes the third fruit into a lemon, and removes another apple. The code uses the `d3.select`, `d3.range`, and `scaleOrdinal` APIs to set up color and radius scales, while `selection.transition().duration(1000)` animates the `cx` and `r` attributes for entering, updating, and exiting circles. The visualization is rendered as SVG with D3 v6.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0ea153810d574667b059164139cd86cd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}