{"version":"1.0","type":"rich","title":"Bowl of Fruit - General update pattern","description":"Five pieces of fruit sit in a bowl, with apples being eaten and replaced by lemons over time. Using D3.js v5, the example demonstrates the general update pattern: `data` joins, `enter`, `merge`, and `exit` selections manage DOM elements as the fruit array changes. `scaleOrdinal` maps fruit types to circle radii and colors, while SVG `g` groups and `rect` shapes render the bowl and fruits.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/03eba79e097a47069aa4a214b8081531?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}