Skip to main content
100%

Bowl of fruit-3(click to select)

✓ Published0🌍 Public
Kkaviya-ds
Last edited Aug 10, 2020
Created on Aug 10, 2020
Forked from Bowl of fruit-2

A bowl of fruit shows five apples that shrink, disappear, change type, and get removed over timed intervals as the dataset updates. The visualization animates circles representing fruit, with apples in red and lemons in yellow, using D3 v5’s data join, enter/exit transitions, and `transition().duration()` to smoothly resize elements. `scaleOrdinal` maps fruit types to colors and radii, while `selectAll('circle')` and `.merge()` handle updates. The demo runs automatically via `setTimeout`, highlighting dynamic data binding without user interaction.

AI-generated description
MIT Licensed

Similar vizzes