Fork of Fork of Fork of Fork of ICE-6 Scatter Plot
✓ Published0🌍 Public
SSUSHMA CHIRRA
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from Fork of Fork of Fork of ICE-6 Scatter Plot
This scatter plot displays the Iris dataset, mapping petal length and width for each flower sample. Points are colored by species—blue for setosa, yellow for versicolor, and green for virginica—using a custom `switch` statement. The visualization is built with D3 v6 in a React-free HTML page, using `d3.scaleLinear` to establish scales, `d3.csv` to load the data, and SVG circles for rendering. Axis labels for petal length and sepal length are added via SVG text elements, with tick text formatted at 24 pixels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed