{"version":"1.0","type":"rich","title":"Bowl of fruit - general update pattern (v2)","description":"A bowl of fruit demonstrates the general update pattern, showing how a D3 visualization reacts to changing data over time. Apples are rendered as dark red circles of radius 50, while lemons are yellow circles of radius 30, positioned within a rounded-rectangle bowl. The code uses `d3.select`, `d3.range`, and `d3.scaleOrdinal` from D3 v5, with SVG output. Through `selection.enter`, `.merge`, and `.exit` methods, the example sequentially removes apples, replaces one with a lemon, and filters another, updating the visualization accordingly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cd6e9437c3254e5bb69d8101857a9685?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}