Activity 8 Scatter Plot Rohit
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width while also encoding sepal measurements as circle radii. Each point represents a flower specimen, color-coded by species (setosa, versicolor, or virginica) through a switch statement. The visualization uses d3.v6 with the csv parser, scaleLinear, axisLeft, and axisBottom APIs to load data and render SVG circles. The code dynamically sizes the plot to fit the browser window and displays axis labels for petal length and sepal length.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed