Skip to main content
100%

question3activity6

✓ Published0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This example visualizes the classic Iris dataset as a scatter plot, plotting petal length along the x-axis and petal width along the y-axis. It colors each point by species (setosa, versicolor, and virginica) using skyblue, lightgreen, and orange. The visualization loads CSV data from a GitHub gist, parses numeric columns, and uses d3.scaleLinear with extents to map values to screen coordinates. It renders SVG circles with fixed radius and draws axes using d3.axisLeft and d3.axisBottom, along with rotated and positioned text labels for the axes.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes