Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruit-3(click to select)

Public visualization

Bowl of fruit-3(click to select)

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

Comments

Sign in to join the discussion.

MIT Licensed