🌍 Public
Viewing a saved revision (read-only)
a2a9e9c2c2604e9297769da11aa960f9
Fork of Iris Dataset Scatter Plot
Kkalyanikotha
Last edited Mar 6, 2022
Created on Mar 6, 2022
This scatter plot visualizes the Iris Dataset, mapping petal length and width on the x- and y-axes while coloring each point by species (red, blue, green). It uses D3.js v6 with `d3.csv` to load data, `d3.scaleLinear` for axes, and `d3.axisLeft`/`d3.axisBottom` to render scales. Circle marks are appended via `selectAll` and `join`, with fill colors assigned through a custom switch function. The SVG canvas fills the browser window, and the code also parses sepal dimensions but uses them only as unused attributes.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.