{"version":"1.0","type":"rich","title":"reusable d3 scatterplot","description":"This example shows a reusable D3 scatterplot of Iris flower measurements, plotting petal length against sepal length as circles with ordinal axes. The visualization is implemented as a custom D3 module using `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, with data loaded via `d3.csv` from a GitHub gist. The chart’s dimensions, margins, and radius are configurable through chained setter functions, and it renders in an SVG with a React starter template. The code demonstrates a modular, data-joins approach where circles are appended to the selection.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d39e132a445541bb8540c3ded0f06647?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}