Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A scatter plot in React and D3

Public visualization

Viewing a saved revision (read-only)

c55886f1541a4bcf922c94c37c9df7d8

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