Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bowl of Fruit - Hover to select

Public visualization

Bowl of Fruit - Hover to select

0 stars0🌍 Public
Rrintisch
Last edited Oct 24, 2019
Created on Oct 22, 2019

Five apples and a lemon are rendered as colored circles in an SVG bowl, with hover highlighting the selected fruit with a black outline. The example demonstrates enter, update, and exit selections, animating radius and position changes over one-second transitions. Built with D3 v5, it uses `scaleOrdinal` for color and size, `selection.merge`, and `transition` to handle dynamic data updates as fruits are eaten and replaced.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed