Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork ofScatter Plot

Public visualization

Fork ofScatter Plot

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

Comments

Sign in to join the discussion.

MIT Licensed