{"version":"1.0","type":"rich","title":"Reusable D3 Scatter Plot (Different Plot shape)","description":"This example demonstrates a reusable D3 scatter plot that visualizes the Iris dataset, with different symbol shapes representing different species. The plot maps petal length to the x-axis and sepal length to the y-axis, using axes generated with d3.axisLeft and d3.axisBottom. The reusable component pattern, built with a custom scatterPlot() factory function, employs d3.scaleLinear for positioning, d3.scaleOrdinal with d3.symbols for shape encoding, and d3.symbol to generate SVG paths. Data is loaded asynchronously via d3.csv from a remote GitHub gist.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fa15d247fc074afe96f9bdb431004cab?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}