{"version":"1.0","type":"rich","title":"Bowl of Fruit - Export Module to separate file","description":"A modular D3 v5 example renders a changing bowl of fruit as circles in an SVG. It uses `d3.scaleOrdinal` for color and radius mapping, and `d3.select` with a `data` join to manage enter, update, and exit selections. The `fruitBowl` function is exported from a separate file and imported into `index.js`, which drives the animation with `setTimeout` calls to remove apples and change one to a lemon. The data is plain JavaScript objects with a `type` property, and the visualization updates over three seconds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/137281dc86c54dd1acba5f39f879f547?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}