Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React Scatter Plot w/ Colors

Public visualization

Viewing a saved revision (read-only)

61b424674dcf40c0b1f1ffeae2c0fe5e

React Scatter Plot w/ Colors

0 stars1🌍 Public
AAnthony Ynami
Last edited Feb 22, 2021
Created on Feb 22, 2021
Forked from React Scatter Plot

A React scatter plot visualizes the Iris dataset, showing sepal length against sepal width. Each of the three species receives a distinct color via D3's `scaleOrdinal`. The visualization uses D3's `scaleLinear` and `extent` for axes, with custom React components generating SVG ticks and circles. Hovering reveals formatted values via native SVG `<title>` tooltips. Data loads asynchronously from a CSV URL using a custom `useData` hook.

AI-generated description

A Scatter Plot of the Iris Dataset