Skip to main content
100%

Activity 7 Scatter Plot

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, mapping petal length and width for each sample while coloring points by species (setosa, versicolor, virginica) with distinct hues. The visualization loads CSV data via `d3.csv`, scales axes using `scaleLinear` and `extent`, and renders circles as SVG elements with `selectAll`/`join`. Axis labels and ticks are generated with `axisLeft` and `axisBottom`. The code also attaches computed sepal dimensions to each point via `rx` and `ry` attributes, though circles render with a fixed `radius`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes