{"version":"1.0","type":"rich","title":"Fork of Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates how D3.js handles updates to a dataset by animating the addition, removal, and modification of elements. It shows a bowl of fruit represented by colored circles with labels, using D3's `select`, `range`, and `scaleOrdinal` functions. The `transition().duration(1000)` API animates radius and text changes as apples are eaten and replaced with lemons, while the SVG and g elements are created and removed through the general update pattern.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cddcb418f4764395bf2ea76255b63d3c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}