Skip to main content
100%

Fork of Fork of Iris Dataset Scatter Plot

✓ Published0🌍 Public
Ppravalliyaram
Last edited Mar 7, 2022
Created on Mar 7, 2022

This scatter plot visualizes the Iris Dataset, mapping petal length and width for each specimen on the x- and y-axes, while coloring each point by species (setosa, versicolor, and virginica). The chart uses the D3 v6 `csv` loader to fetch the dataset, `scaleLinear` for axes, and `extent` to compute the domains. Each flower is drawn as an SVG circle with a fixed radius, but the code also defines rectangular attributes (`rx` and `ry`) from sepal measurements, though these are not visually applied. Axis labels and ticks are generated using `axisLeft` and `axisBottom`.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes