{"version":"1.0","type":"rich","title":"Bowl of Fruits General Update Pattern","description":"A bowl of fruits demonstrates the D3 general update pattern, showing how data joins manage enter, update, and exit selections as apples are eaten or replaced by lemons over timed intervals. The code uses d3.scaleOrdinal to map fruit types to colors and radii, with SVG groups appended via selection.join patterns. Each render cycle repositions fruit groups with transform attributes, updates circle fills and text labels, and removes exiting elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3d79945ff98b497a8adb7ad9b39cf0f9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}