{"version":"1.0","type":"rich","title":"change markers in  reusable D3 scatterplot","description":"This example demonstrates a reusable D3 scatterplot that renders the Iris dataset, mapping petal width and sepal length to x and y axes while encoding species through both color and symbol shapes. The visualization uses an ordinal color scale with `d3.schemeCategory10` and a symbol scale based on `d3.symbols` to differentiate categories. Built as a custom `scatterPlot` function with setters for width, height, data, and accessor functions, it employs `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` within an SVG rendered by React. The code assigns path data via `symbolGenerator.type()` to create distinct markers.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/948a739e205c4706bd7b4917253c96d1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}