{"version":"1.0","type":"rich","title":"Bowl of fruit - General update pattern","description":"This example demonstrates the general update pattern in D3 by showing a bowl of fruit that changes over time. Initially, five red apples appear as circles, then one apple is removed and another is replaced with a lemon, using the exit selection to remove no-longer-needed elements. The visualization uses D3 v5 with SVG rendering and a scaleOrdinal color scale to map fruit types. It employs d3.select, data joins, and the .exit().remove() method to handle updates at timed intervals.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c1c1028cdccb4d838a9426ae70aaf601?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}