Fork of Scatter Plot with Color
✓ Published0🌍 Public
This fork of the classic scatter plot visualizes the Iris Dataset, mapping petal length on the x-axis and sepal width on the y-axis. Each of the 150 data points is rendered as an SVG circle, with its fill color determined by the flower’s species via a `scaleOrdinal` color scale. The React component uses `d3.scaleLinear` for both axes and `d3.extent` to compute domains, while custom `AxisBottom` and `AxisLeft` components generate gridlines and tick labels. The code loads data asynchronously from a CSV URL using `d3.csv` and styles the visualization with the Poppins font.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed