{"version":"1.0","type":"rich","title":"D3 Starter - General update pattern Modular way","description":"This example demonstrates the D3 general update pattern in a modular way, using animated fruit bowls to illustrate how data changes drive SVG circle and text elements. The code defines a reusable `fruitBowl` function that handles enter, update, and exit transitions for circles and labels, with `transition().duration(1500)` animating position, radius, fill color, and opacity changes. Using d3.v6's `scaleOrdinal` for color and radius mapping, the visualization cycles through adding, removing, and modifying fruit data points via `setTimeout` calls.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5ada0171265a4c7088bebd66c0c24c13?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}