Skip to main content
100%

Click to select

✓ Published1🌍 Public
Mmla341
Last edited Jun 23, 2020
Created on Jun 23, 2020

A click-to-select interaction lets users highlight fruit in an SVG bowl, with selected items receiving a black stroke. The visualization uses D3 v5’s `scaleOrdinal` for color and radius, and `transition` to animate circle entry, exit, and property changes. Data updates via `setTimeout` modify the array, triggering re-renders in a React-styled functional component that merges enter and update selections.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes