Skip to main content
100%

Fork of Iris Dataset Scatter Plot

✓ Published1🌍 Public
SSohilaBheemReddy
Last edited Mar 7, 2022
Created on Mar 6, 2022

This fork of the Iris dataset scatter plot maps petal length and petal width to the x and y axes, with each circle’s fill color indicating the species: green for setosa, purple for versicolor, and orange for virginica. The code also binds sepal length and width values to each circle’s rx and ry attributes, though the circles render as uniform points due to the fixed radius. Built with D3 v6, it loads CSV data via d3.csv, uses scaleLinear and extent for scales, and renders axes with axisLeft and axisBottom in an SVG.

AI-generated description

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

MIT Licensed

Similar vizzes