{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update pattern (text)","description":"This example demonstrates the general update pattern in D3.js by animating a bowl of fruit that changes over time. It shows how data joins manage entering, updating, and exiting SVG elements—apples are eaten, one apple turns into a lemon, and positions shift with each render cycle. The code uses d3-scale’s `scaleOrdinal` for color and radius mapping, while transitions animate circle sizes and repositions groups after each state change. Rendered as SVG, the bowl is a static rectangle, and text labels identify each fruit type.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ef25e334aa914fef8fc7bda65a985e7d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}