Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of fruit!

Public visualization

Bowl of fruit!

0 stars0🌍 Public
Yylzami40
Last edited Nov 27, 2019
Created on Nov 27, 2019
Forked from Bowl of fruit!

Five apples are displayed as red circles with labels, arranged horizontally across the screen. After one second, the last fruit is removed; a moment later, the third apple changes to a yellow lemon with a smaller radius. The example uses d3-selection with data joins to bind an array of fruit objects to SVG groups, circles, and text elements. The `scaleOrdinal` function maps fruit types to color and radius values, while `setTimeout` calls trigger the sequential updates.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed