{"version":"1.0","type":"rich","title":"Bowl of Fruit - General Update Pattern Special Cases","description":"This example demonstrates a bar chart with gradient-filled rectangles, showing 20 random data points over time. The bars animate from the bottom of the chart upwards using a transition with staggered delays. The visualization employs D3 v5’s general update pattern, using `selectAll`, `enter`, `merge`, and `exit` to manage the SVG elements. It uses `d3.scaleTime` and `d3.scaleLinear` for positioning, `d3.axisBottom` and `d3.axisLeft` for axes, and defines a linear gradient via SVG’s `linearGradient` element with custom color stops.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/521eeb932c774995bee6967241a43739?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}