Skip to main content
100%

A scatter plot in React and D3

✓ Published2🌍 Public
Bblackbottt
Last edited May 28, 2022
Created on May 27, 2022

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 pink circle. Built with React for component structure and D3 v5 for scales and CSV loading, it renders as SVG. The `scaleLinear` and `extent` APIs create the axes, while AxleBottom and AxleLeft components draw ticks and gridlines.

AI-generated description

A scatter plot from the iris dataset

MIT Licensed

Similar vizzes