Skip to main content
100%

ICE-6_Scatter_Plot

✓ Published0🌍 Public
Jjayavamsi
Last edited Mar 23, 2023
Created on Mar 23, 2023
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, showing petal length against petal width for three species, colored blue, yellow, and red. It uses D3 v6’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load and map the data, rendering SVG circles with fixed radius. The code also parses sepal measurements but only uses them for axis labels, with a rotated y-axis label and a horizontal x-axis label. The visualization fills the browser window using `window.innerWidth` and `innerHeight`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes