🌍 Public
Viewing a saved revision (read-only)
8af4551d48b34418a85c51a039f1f5df
Bowl -Interaction
Ss-janibekova
Last edited Nov 14, 2019
Created on Nov 14, 2019
A bowl of fruit shows five apples that users can click to select, with the selected fruit highlighted. Over time, the simulation removes apples, replaces one with a lemon, and filters out another, demonstrating dynamic updates to a data array. Built with D3 v5 and rendered as SVG, the code uses `select`, `range`, and a custom `fruitBowl` module to manage the visualization, with `setTimeout` driving the state changes.
AI-generated description