Skip to main content
100%

Activity6_taks3.1

✓ Published0🌍 Public
Ssumithdugyala@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024

A scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. The D3 v6 code loads CSV data via `d3.csv`, scales the values with `d3.scaleLinear`, and renders SVG circles with `d3.selectAll` and `join`. It uses `d3.axisLeft` and `d3.axisBottom` for labeled axes, while hardcoded text labels for both axes appear to be mislabeled, with the y-axis reading "Petal_Length" and the x-axis "sepal_Length". The visualization fills the browser window using `window.innerWidth` and `window.innerHeight`.

AI-generated description

We are Displaying the iris dataset using Scatter plot.

MIT Licensed

Similar vizzes