Skip to main content
100%

Fork of Iris Dataset Scatter Plot

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

This scatter plot visualizes the Iris Dataset, mapping petal length and width along the axes while coloring each point by species (setosa, versicolor, or virginica). The visualization is built with D3 v6, using `scaleLinear` for axes, `axisLeft` and `axisBottom` for ticks, and SVG circles for marks. Data loads from a CSV via `d3.csv`, with numeric parsing for measurement columns. The code assigns colors through a switch statement and uses fixed radius points, with margins configured for the full browser viewport.

AI-generated description

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

MIT Licensed

Similar vizzes