{"version":"1.0","type":"rich","title":"Bowl of fruit - General update pattern","description":"Five apples appear as red circles in an SVG bowl, then one disappears and another turns yellow. The demo shows D3’s general update pattern, using `selection.data`, `.enter`, `.merge`, and `.exit` to bind an array of fruit objects to `circle` elements. `d3.scaleOrdinal` maps fruit types to fill colors and radii via `colorScale` and `radiusScale`, while `setTimeout` triggers the state changes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0541bb9a54154d0589e3cd9bccd37934?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}