Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

A scatter plot in React and D3

Public visualization

A scatter plot in React and D3

0 stars2๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed