Skip to main content
100%

another one

✓ Published0🌍 Public
Ggayatrisridhar
Last edited May 26, 2021
Created on May 26, 2021
Forked from scatter plot

This example shows a scatter plot of the Iris dataset, mapping sepal length on the x-axis and sepal width on the y-axis, with each flower as a circle. It uses React with D3.js (v5) to render an SVG, employing `scaleLinear` for both axes, `extent` to set domains, and `scaleOrdinal` (unused for coloring here). The CSV data is loaded via `d3.csv` and parsed into numbers, with axes drawn using custom `AxisBottom` and `AxisLeft` components that generate ticks and grid lines.

AI-generated description

A scatter plot of Iris dataset The Iris Dataset

MIT Licensed

Similar vizzes