Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Bowl of Fruit

Public visualization

Fork of Bowl of Fruit

0 stars0🌍 Public
AAndrewRiceMGW
Last edited Jan 24, 2021
Created on Jan 24, 2021
Forked from Bowl of Fruit

A fork of the Bowl of Fruit example demonstrates dynamic data updates with D3’s enter, update, and exit selections. It shows a row of fruit shapes in a rounded bowl, where apples are red circles and lemons are yellow circles of different sizes, with each fruit labeled by type. The visualization uses `d3.scaleOrdinal` for color and radius mapping, and updates the SVG via `fruitBowl` over timed intervals that remove fruits, change an apple to a lemon, and filter out another apple. The rendering relies on SVG groups containing `circle` and `text` elements, with transitions triggered by JavaScript `setTimeout` calls.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed