Activity6_Task3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each point colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The code loads the dataset from a remote CSV URL using `d3.csv` and renders the plot as SVG using D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs. The plot includes axis labels and a red title, with the layout sized to the browser window via `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed