{"version":"1.0","type":"rich","title":"Bowl of fruit - General Update Pattern","description":"Five pieces of fruit are rendered as red circles in a green bowl, then updated through a general update pattern. Over timed intervals, an apple is removed, another changes to a yellow lemon with a black stroke, and a final apple is deleted. The code uses `d3.selectAll`, `data`, `enter`, `merge`, and `exit` with a key function based on random IDs. Scales from `d3.scaleOrdinal` map fruit types to colors, radii, and strokes, while SVG groups, circles, and text are joined and transformed.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a7adff5696b24a6f954c187177bcd4a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}