Skip to main content
100%

Activity6_Task3

✓ Published0🌍 Public
SSatish Nallamadugu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

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 description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes