Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Ppvvaishnavi93@gmail.com
Last edited Mar 27, 2026
Created on Mar 27, 2026
Forked from Scatter Plot

A reusable scatter plot displays the relationship between monthly sales and profit, with each point representing a month from a CSV data file. The plot uses D3 v7 within an SVG rendered in React, employing `d3.csv` to load data and `d3.scaleLinear` to map values to axes. A custom `scatterPlot` function handles axis generation via `d3.axisBottom` and `d3.axisLeft`, rendering circles with steelblue fill to show the positive correlation between the two variables.

AI-generated description
MIT Licensed

Similar vizzes