{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Patter","description":"Five apples appear in a row as red circles, then one disappears when the data array shrinks, and a later apple turns yellow to become a lemon. The example demonstrates the D3 general update pattern using `selection.enter()`, `selection.exit()`, and the merge of new and existing elements. It uses `d3.scaleOrdinal` for color and radius mappings based on fruit type, with `setTimeout` calls to trigger the data changes. Rendering targets an SVG canvas via D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b7c7c9ca97c1485a9a085e0a63c71771?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}