Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruits

Public visualization

Bowl of fruits

0 stars1🌍 Public
Vvladvaculin
Last edited Sep 2, 2019
Created on Aug 29, 2019

A dynamic SVG visualization renders a changing bowl of fruits using D3 v5's data-join pattern. Five apples appear initially, then the code removes one fruit, converts another to a lemon, and filters out a third over timed intervals. The fruitBowl module applies `scaleOrdinal` for color and radius, mapping apples to red circles and lemons to yellow ones. Circles enlarge on hover via CSS, showing interactive feedback.

AI-generated description

Hover to see the details.

Comments

Sign in to join the discussion.

MIT Licensed