{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"This example demonstrates the D3 general update pattern, showing how a data visualization reacts to incremental changes in a dataset. A bowl of fruit, initially containing five apples, updates over time as fruits are removed and an apple is transformed into a lemon. The visualization uses D3 v5 and SVG rendering, where each fruit is represented as a circle and a text label. The `selection.merge` and `selection.exit` methods handle the smooth insertion and deletion of elements, with `scaleOrdinal` mapping fruit types to colors and radii.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8823bc3169094eb98538eac7ca64cc89?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}