{"version":"1.0","type":"rich","title":" reusable scatter plot","description":"This example demonstrates a reusable scatter plot that visualizes the relationship between age and price, with points colored by gender. It automatically alternates between two subsets of the data every five seconds, using a timer to refresh the visualization. The implementation leverages D3 v6’s modular functions, including `scaleLinear`, `scaleOrdinal`, `extent`, and `axisLeft`/`axisBottom`, within a custom chart factory function. Data is loaded from a remote CSV file and parsed, while SVG rendering and animation are handled through D3’s selection and join methods, ensuring a clean, declarative approach to updating the plot.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c515d13e06bf44bd8a9f479b2db5529f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}