Skip to main content
100%

Scatter Plot

✓ Published2🌍 Public
LLewis Ward
Last edited Jun 28, 2021
Created on Jun 28, 2021

This scatter plot displays the relationship between petal length and sepal width from the Iris dataset, with each point representing a flower sample. The visualization is rendered as an SVG using React components that leverage D3 v7 utilities for data loading and scaling. The code uses `scaleLinear` from D3 for both axes, `extent` to compute the domain from the data, and `csv` to parse the remote data source. Axis labels and tick marks are generated programmatically through reusable React components.

AI-generated description

A program that loads in some data using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes