🌍 Public
Viewing a saved revision (read-only)
f3071dce37994ea083633785d37b793c
Activity 6_Tutorial Task 3.1_Harini
This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica). The code loads the data from a remote CSV using `d3.csv`, scales the axes with `d3.scaleLinear` and `d3.extent`, and renders the plot as an SVG using `d3.select`, `d3.axisBottom`, and `d3.axisLeft` from the d3 v6 API. The visualization includes axis labels for petal length and sepal length, though the sepal length label appears mismatched relative to the plotted dimensions.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.