Skip to main content
Public

Share visualization

Loading preview…

Bowl of Fruit - click to select

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 - click to select

0
VVamsiYandapalli
Last edited Dec 8, 2021
Created on Dec 7, 2021

A bowl of fruit displays five apples as red circles that are transformed over time; one apple is eaten, another is replaced by a lemon, and a third is removed, with each change animated via a 1000ms transition. Clicking any circle logs its unique ID to the console. The visualization uses D3 v7’s `scaleOrdinal` for color and radius mappings, `selection.data` with key functions, and `transition.attr` to animate circle positions and sizes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed