🌍 Public
Viewing a saved revision (read-only)
83ae890c12114d4e99c410973d11e123
Fork of Iris Dataset Scatter Plot
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 descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.