Skip to main content
100%

Fork of Fork of Scatter Plot with Color

✓ Published0🌍 Public
PPiotr Paszek
Last edited Mar 19, 2021
Created on Mar 19, 2021

This scatter plot visualizes the Iris dataset, showing petal length against sepal width, with each of the three iris species represented by a distinct color. The visualization uses React components to render SVG circles, with d3.scaleLinear mapping the quantitative axes and d3.scaleOrdinal assigning categorical colors. Axes are generated through custom React components that leverage d3’s tick generation, while the useData hook fetches and parses the CSV data using d3.csv. Hovering over a circle displays its exact petal length value via an SVG title element.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes