Skip to main content
100%

Iris Dataset Scatter Plot

✓ Published0🌍 Public
Aaashrithd4
Last edited Mar 6, 2022
Created on Mar 6, 2022

This scatter plot visualizes the Iris Dataset, plotting petal length on the x-axis against sepal length on the y-axis. Each flower is represented by a red circle, with axes labeled directly in the SVG. The code loads CSV data using `d3.csv`, then applies `scaleLinear` with `extent` to map values, and renders marks via SVG circles. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, while the chart fills the browser window using `window.innerWidth` and `window.innerHeight`.

AI-generated description

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

MIT Licensed

Similar vizzes