{"version":"1.0","type":"rich","title":"Bowl of fruit - General update pattern with D3.js","description":"This example demonstrates the general update pattern in D3.js by rendering a bowl of fruit as a row of circles on an SVG canvas. The code uses `select`, `range`, and data binding to create five circles, each representing an apple, positioned horizontally with a spacing of 100 pixels and centered vertically. It relies on the `enter()` selection to append the circles and sets their `cx`, `cy`, and `r` attributes directly. The visualization is built with D3 v5 within a React framework, drawing to a fixed 960×500 SVG viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/91fe03d4cb944a15b9266cd8bdda438a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}