{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3 general update pattern using a bowl of fruit metaphor. Five apples are drawn as red circles with labels inside a rounded rectangle bowl. Over time, fruits are removed and one apple changes into a lemon, with the chart updating accordingly. The code uses D3 v7 APIs including `scaleOrdinal` for color and radius mappings, and the `selectAll`, `enter`, `merge`, and `exit` methods to handle data changes. The visualization renders as SVG with fruits positioned horizontally based on their array index.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/63ea47df171743a7a2eb87e4d57a0580?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}