🌍 Public
Scatter Plot with Color
This interactive D3.js scatter plot, built with React and rendered as an SVG, visualizes the classic Iris dataset. It displays the relationship between petal length (x-axis) and sepal width (y-axis), with each of the three iris species distinguished by a unique color using `scaleOrdinal`. The visualization employs `scaleLinear` for both axes, and the `csv` function from D3 is used to load and parse the data. Interactive tooltips are provided via SVG `<title>` elements, showing the precise petal length of each point.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.