Skip to main content
100%

Reusable IRIS scatter plot with different symbols

✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from Scatter Plot

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 description

A scatter plot of the Iris Dataset.

MIT Licensed

Similar vizzes