Bowl of Fruit-Hover to Select
✓ Published0🌍 Public
Five fruit shapes sit in a bowl, with text labels beneath each. Hovering over a fruit outlines it in black and logs the selection to the console. The fruit bowl is built with D3 version 5's selection API, using `scaleOrdinal` for color and radius, and transitions animate the circles' radius over one second. Animated by timed data mutations, the example removes and replaces apples with lemons.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed