{"version":"1.0","type":"rich","title":"General Update pattern","description":"This example demonstrates the basic D3 general update pattern by rendering a row of five red circles, each representing a fruit labeled \"apple\" in a static dataset. The visualization uses D3 v5 to bind the data array to `circle` elements via `selectAll`, then appends them to the SVG canvas using the chained `.data()` and `.enter()` methods. The circles are positioned horizontally with fixed x-coordinates and a consistent radius and fill color, showing how data can drive simple graphics. The code relies on the d3 selection API (`select`, `attr`, `data`, `enter`, `append`) and renders to SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e7953667ebd24a1c9bd1b9f7d0cd20aa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}