Skip to main content
100%

Scatter Plot with Iris DataSet

✓ Published0🌍 Public
Bbrindapotluri
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, mapping petal length and width to point positions, while color distinguishes the three species: setosa, versicolor, and virginica. The plot uses D3.js v6 with an SVG rendering, employing `d3.csv` to load the data, `d3.scaleLinear` for axes, and `d3.extent` to set the scales. Separately, sepal length and width are encoded into the marker's width and height, though the ellipse-like shapes still use `r` for a uniform radius. Axis labels are added via SVG text elements, and the visualization adapts to the window size.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes