🌍 Public
Viewing a saved revision (read-only)
a4888a9790d34f09b4e9d9355759c730
14.b - fruit bowl - hover to select - dataviz 2018
Zzach b.
Last edited Jan 13, 2022
Created on Nov 25, 2021
A fruit bowl shows five apples arranged in a shallow dish, and hovering over any fruit highlights it with a black stroke. The visualization uses D3 v7's selection and transition APIs to animate new fruits entering, exiting, and changing type, such as when an apple transforms into a lemon. The code demonstrates enter, update, and exit states using `selectAll`, `merge`, and `transition().duration()`, with interactions driven by `mouseover` and `mouseout` events. All rendering is done in SVG.
AI-generated descriptiondatraviz 2018 #14.a - fruit bowl - click to select