Skip to main content
Public

Share visualization

Loading preview…

Bowl of Fruit - Animated Transitions

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Bowl of Fruit - Animated Transitions

0
YYan Yan
Last edited Sep 19, 2018
Created on Sep 19, 2018

Five circles representing apples and lemons transition smoothly in a bowl-shaped arrangement, shrinking and disappearing when eaten or expanding when added. Using D3 v5 with SVG, the `fruitBowl` function binds data by ID and applies `transition().duration(1000)` to animate radius and x-position, with `scaleOrdinal` determining color and size. Data updates occur via `setTimeout` calls that mutate the fruit array.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed