{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern","description":"Five circles representing apples initially fill the frame. D3's general update pattern adds, removes, and updates SVG `<circle>` elements as the underlying data array changes. The example uses `d3.select` to target the SVG, `d3.scaleOrdinal` to map fruit types to colors and radii, and `d3.range` to generate the initial dataset. After a second, a circle is removed; after another, an apple's type changes to a lemon, altering its color and size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/41a97687dd66462b916b0cd644b619d4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}