Reusable IRIS scatter plot with different symbols
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal width to sepal length, with each species represented by a distinct symbol and color from D3’s ordinal scales. The reusable `scatterPlot` component, configured via method chaining, handles axis generation, symbol rendering, and a legend. It uses D3’s `scaleLinear`, `scaleOrdinal`, `symbol`, and `axis` APIs, with data loaded from a CSV URL. The SVG output is sized to the window, and the legend displays species names with corresponding symbols.
AI-generated descriptionA scatter plot of the Iris Dataset.
MIT Licensed