{"version":"1.0","type":"rich","title":"Bowl of Fruit-General Update Pattern.js","description":"A bowl of fruit demonstrates the D3 general update pattern, showing how data joins manage enter, update, and exit selections. Apples and lemons appear as colored circles with labels inside a rectangle bowl drawn with SVG. Using `scaleOrdinal` for color and radius, the visualization responds to timed data changes: removing fruit, replacing an apple with a lemon, and filtering items. Each render calls `fruitbowl`, which uses `.enter()`, `.merge()`, and `.exit()` to handle dynamic updates smoothly.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bc787946099344c88d2b346b64671d20?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}