Skip to main content
100%

Fork ofScatter Plot

✓ Published0🌍 Public
Ssathvik0311@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This fork of a scatter plot visualizes the Iris dataset, encoding petal length and width on the x and y axes while coloring each circle by species (setosa, versicolor, virginica). It loads CSV data via `d3.csv`, uses `scaleLinear` and `extent` for scales, and renders SVG circles with `selectAll().data().join()`. The code also stores raw sepal dimensions in each datum, though only petal dimensions are plotted. Axis labels and ticks are added using `axisLeft`, `axisBottom`, and custom text elements.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes