Skip to main content
100%

Activity 7 Scatter Plot

✓ Published0🌍 Public
Bbogasamudramvamsikrishnareddy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, encoding petal length on the x-axis and petal width on the y-axis. The code uses D3 v6 APIs including `d3.csv`, `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`d3.axisBottom`, rendering to an SVG. Data points are colored by species (skyblue, lightgreen, orange), and the plot also incorporates sepal dimensions as extra coordinates, though only the petal dimensions are used for point positions. The chart labels axes as petal length and sepal length.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes