Skip to main content
100%

Basic Scatter Plot with React & D3

✓ Published1🌍 Public
223100098@lums.edu.pk
Last edited Oct 9, 2025
Created on Oct 9, 2025

A basic scatter plot displays the classic Iris flower dataset, plotting sepal length on the x-axis against sepal width on the y-axis for all 150 specimens. Each point appears as a fixed steelblue circle. The React app loads the CSV data via D3's `csv` function, then calls a separate `viz` function that uses `scaleLinear` and `extent` to compute the chart's scales. D3's `select` and a `.join` operation render the circles onto the SVG element.

AI-generated description
MIT Licensed

Similar vizzes