{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"A bowl of fruit demonstrates the general update pattern for data joins in D3. Rows of apples transition in and out, with one apple changing into a lemon mid-animation, using d3.selectAll and data joins keyed by id. The code uses d3.scaleOrdinal for fruit color and radius, svg rect, circle, and text elements, and d3.transition with a 1000ms duration to animate updates. The index.js drives timed changes to the fruits array.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a6d064fea0bd44a7b3dc6dd9c7f3718c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}