{"version":"1.0","type":"rich","title":"Reusable Fork of D3 Scatter plot","description":"This example presents a reusable D3 scatter plot implemented as a React-friendly function module, visualizing the classic Iris dataset. It maps petal length to the x-axis and sepal length to the y-axis using `scaleLinear` scales and `extent` to set domains. The code uses `csv` to load data and `axisLeft`/`axisBottom` for axes, while SVG circles are joined with the data via `selectAll` and `join`. The chart adapts to the browser window size and exposes setter methods for width, height, margins, and radius.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d96946f3c5be4c7498665e3081e9f40b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}