{"version":"1.0","type":"rich","title":"General Update Pattern","description":"A colorful bowl of fruit demonstrates D3's general update pattern using SVG circles and animated transitions. The `fruitBowl` function binds an array of fruit objects to circles, employing `selection.enter`, `selection.merge`, and `selection.exit` to handle additions, updates, and removals. `d3.scaleOrdinal` maps fruit types to fill colors and radius sizes, while `transition` animates positions and sizes. Timers in `index.js` trigger state changes, popping fruits, swapping an apple for a lemon, and removing items, showing how circles gracefully grow, shrink, or disappear over one-second intervals.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2a516129ba93471084c4d1cdb1be439a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}