Skip to main content
100%

Fork of Fork of ICE-6 Scatter Plot

✓ Published1🌍 Public
MMgk1255
Last edited Mar 8, 2023
Created on Mar 8, 2023

This interactive scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes while coloring each point by species (setosa, versicolor, virginica) using blue, yellow, and red. The SVG circles also encode sepal measurements through their `rx` and `ry` attributes, though these are overridden by the fixed `radius`. Built with React and D3 v6, the code loads CSV data via `d3.csv`, applies `scaleLinear` and `extent` for scales, and renders axes using `axisLeft` and `axisBottom`, with labels styled via CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes