Activity 7 Scatter Plot
✓ Published0🌍 Public
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 descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed