Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hover to select

Public visualization

Viewing a saved revision (read-only)

1d92004d747949d4876f95381952b252

Hover to select

0 stars0🌍 Public
Mmla341
Last edited Jun 23, 2020
Created on Jun 23, 2020
Forked from Click to select

Five fruit circles initially render as apples in a yellow-to-red ordinal scale. Hovering a circle selects it with a black outline, managed through React state and mouseover/mouseout events. Updates demonstrate data joins: a fruit is removed, one apple mutates to a lemon, and another is filtered out. The `fruitbowl` function uses D3 v5 transitions with `selection.merge()` and `exit().remove()` to animate radius and position changes over 1 to 1.5 seconds.

AI-generated description

A bare minimum HTML page.

See also React Starter.