{"version":"1.0","type":"rich","title":"Fork of Bowl of fruit - General Update Pattern","description":"A demonstration of D3's general update pattern shows a changing bowl of fruit, where apples are removed, replaced by lemons, or eaten over time. The visualization displays each fruit as a circle with a label, using ordinal scales for color and radius to distinguish types. The code applies incremental updates to SVG groups via D3's selection merge and exit methods, orchestrating changes with `setTimeout` calls to trigger sequential state changes. The example is built with D3 v6 and renders to SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f617117cc9fb4281a069a9bb1d9ff06f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}