Skip to main content
100%

Activity 7 Scatter Plot

✓ Published0🌍 Public
Hharipriyaa07
Last edited Jul 6, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes. Each of the 150 data points is a circle, with colors representing the three species: setosa, versicolor, and virginica. The code uses d3.csv to load data from a GitHub repository, d3.scaleLinear for scaling, d3.extent to compute domains, and d3.axisLeft and d3.axisBottom to render the axes. The plot is rendered as an SVG, with circle elements positioned using attributes derived from the scaled data.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes