{"version":"1.0","type":"rich","title":"Bowl of Fruit - Nested Version of General Upate Pattern","description":"This example demonstrates the nested version of D3’s general update pattern, showing how a static array of fruit objects (initially five apples) is transformed by removing one element and re-rendering the SVG circles accordingly. The visualization renders a simple bowl of fruit as colored circles, with a lemon replacing the third apple in the initial data and then being filtered out through `Array.filter`. It uses D3 v5 with `select` and `range` to bind data to SVG elements, though the update logic itself is implied rather than explicitly animated. The code relies on `d3.select` and `d3.range` for data generation and DOM selection.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/26371f977ecc406490ee4ebe35943708?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}