{"version":"1.0","type":"rich","title":"Bowl of fruits- Click to Select","description":"A bowl of fruits visualizes a changing dataset of five circles, each representing an apple or lemon, with color and radius mapped through d3.scaleOrdinal. Clicking a fruit selects it, highlighting the circle with a black stroke. The code uses d3.forceSimulation-like transitions via `transition.attrTween` syntax, but here it applies `transition().duration(1000)` with `attr` calls to animate enter, update, and exit states. Data mutations—removing fruits, changing an apple to a lemon—occur at timed intervals, demonstrating D3’s data join and animated updates in SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e8dd9f9b370345e3ba690a9b1615b249?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}