Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

2eec23d87466442fa66926a63e604c67

Scatter Plot

0 stars1🌍 Public
Mmscoop16
Last edited Jul 12, 2022
Created on Jul 12, 2022
Forked from Stylized Bar Chart

This scatter plot displays the relationship between sepal length and sepal width for Iris flowers, with each circle representing a data point from the Iris dataset loaded via `d3.csv`. The visualization uses React components to render SVG elements, with `d3.scaleLinear` handling both axes and `d3.extent` computing the domain. The code employs reusable axis and mark components, styled ticks, and a tooltip showing the formatted sepal length value. Data is fetched asynchronously in a custom `useData` hook.

AI-generated description

Using React to render data about CSS named colors.