{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3.js general update pattern by rendering a bowl of fruit that changes over time. It shows a row of apples and lemons as circles with matching labels, updating via enter, update, and exit selections. The code uses `d3.select`, `scaleOrdinal` for color and radius, and `selection.merge` to handle transitions. Initial fruits are apples, then one is removed, another becomes a lemon, and a second apple is removed through timed `setTimeout` calls. The visualization renders as SVG elements driven by React.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a0f88b773d1745508d0d0fbbbd7e443b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}