Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable IRIS scatter plot with different symbols

Public visualization

Reusable IRIS scatter plot with different symbols

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed