{"version":"1.0","type":"rich","title":"Reusable D3 Scatter Plot with symbols","description":"This example presents a reusable scatter plot built with D3 v7 and React, displaying the Iris dataset with sepal length on the y-axis and petal length on the x-axis. Each species of iris is distinguished by a different SVG symbol shape, drawn using `d3.symbol` and `d3.symbols`, with axes rendered via `d3.axisLeft` and `d3.axisBottom`. The chart uses `d3.scaleLinear` for positioning and `d3.scaleOrdinal` to map species to symbols, while the reusable `scatterPlot` function is configured through a fluent interface.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4530f64cf206485085594459cdede00c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}