{"version":"1.0","type":"rich","title":"General Update Pattern (Bowl of Fruit)","description":"Five red circles represent apples in a bowl, rendered as SVG elements inside a 960×500 viewport. The example demonstrates D3’s general update pattern using `selectAll`, `data`, `enter`, and `exit` to manage circle creation and removal. A `fruits` array initializes five apple objects, then `pop()` removes one, triggering a re-render that deletes the corresponding circle via `exit().remove()`. Using D3 v6 and React-like render logic, it shows how data joins keep visuals synchronized with changing data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9bcb189659f84ebcb3045c970437ecab?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}