🌍 Public
Viewing a saved revision (read-only)
7c45456b56b04690b9045be950518365
Fork of Data Visualization- Scatter Plot with Iris DataSet
Jjeffchengtw
Last edited Sep 30, 2022
Created on Sep 30, 2022
This visualization shows a scatter plot of the Iris dataset, using different colors to distinguish the three species (setosa, versicolor, and virginica). It maps petal measurements to the x and y axes while additionally encoding sepal measurements as the rx and ry attributes of each circle, creating a hybrid scatter plot. The code loads the CSV data via `d3.csv`, uses `scaleLinear` for axis scaling, and renders SVG circles with `selectAll` and `join`. Axis labels are added as text, with the petal axis rotated using `transform`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.