Skip to main content
100%

Scatter Plot as a function-iris data

✓ Published1🌍 Public
NNita
Last edited May 30, 2021
Created on May 30, 2021

This example presents a scatter plot of the Iris flower dataset, mapping sepal length on the x-axis and sepal width on the y-axis for each sample. It uses React and D3 v6, with `d3.scaleLinear` for both axes and `d3.extent` to derive the domains from the CSV data loaded via `d3.csv`. The visualization renders circles in an SVG container, positioned using scaled coordinates, and applies margins to offset the plot within the full viewport.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes