Skip to main content
100%

Scatter Plot for the IRIS dataset

✓ Published0🌍 Public
Aakhil kata
Last edited Jun 26, 2022
Created on Jun 26, 2022

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and sepal length, with each point representing a sample flower. The visualization is built using React with D3 v6, employing `scaleLinear` for axis scaling and SVG circles rendered via React components. Data is loaded asynchronously from a CSV file using D3’s `csv` function, while custom `AxisBottom` and `AxisLeft` components generate tick marks and labels. The plot includes axis labels and tooltips displaying formatted values.

AI-generated description

A scatter plot showing the Iris dataset and the relationship between Petal Length and Sepal Width (adaptable to any variable) using D3 and React.

MIT Licensed

Similar vizzes