Skip to main content
100%

Fork Activity6_Tutorial-3.1-Scatter Plot

✓ Published0🌍 Public
Aakhillenkalapally1999@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024

This example displays the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis while color-coding each point by species (setosa, versicolor, or virginica). The visualization uses D3.js v6 to load the data from a CSV file via `d3.csv`, then renders circles in an SVG container. Scales created with `scaleLinear` and `extent` position the marks, while `axisLeft` and `axisBottom` generate the axes. The plot fills the browser window, with axis labels styled in green.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes