Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatter plot

Public visualization

scatter plot

0 stars0🌍 Public
Hharshithamiriyam@gmail.com
Last edited Mar 8, 2026
Created on Mar 7, 2026
Forked from React & D3 Starter

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis against sepal length on the y-axis for individual flowers. The example uses React with D3 v7 functions like `csv` for data loading, `scaleLinear` for axis scaling, and `extent` to compute domains. Data is rendered as purple SVG circles, with labeled axes and a title added via D3’s `axisBottom` and `axisLeft` methods. The chart is built dynamically within a React component using a `useEffect` hook to fetch and process the data.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed