Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question3activity6

Public visualization

Viewing a saved revision (read-only)

0bb5ade9c1214c93b711a63ce2dd660a

question3activity6

0 stars0🌍 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.