Skip to main content
100%

Data Visualization- Scatter Plot with Iris DataSet

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

This D3.js v6 scatter plot visualizes the Iris dataset, plotting petal length against petal width for individual flowers, with each point colored by species (setosa, versicolor, or virginica). The SVG rendering uses the `csv` loader to parse the data, `scaleLinear` for both axes, and `axisLeft` and `axisBottom` for tick marks. The code explicitly maps the `sepal_length` and `sepal_width` values to unused `rx` and `ry` attributes, though these do not affect the circle radii, which remain fixed. The chart is sized to the browser window.

AI-generated description

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

MIT Licensed

Similar vizzes