Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl -Interaction

Public visualization

Viewing a saved revision (read-only)

6005324cc59547cd91d4860823f6a1c0

Bowl -Interaction

0 stars0🌍 Public
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