Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Task 8 Scatter plot

Public visualization

Viewing a saved revision (read-only)

c9d9eebacd434475b340aae379a77978

Fork of Task 8 Scatter plot

0 stars0🌍 Public
Ssamithareddy9@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This fork renders the IRIS dataset as a scatter plot, mapping petal length and width to the x and y axes while coloring each point by species (setosa, versicolor, and virginica). The SVG visualization uses d3.scaleLinear, d3.extent, axisLeft, and axisBottom to construct the chart, with circles colored via a switch statement. Data is loaded as CSV from a GitHub gist using d3.csv, and the plot fills the browser window with custom margins and rotated axis labels.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.