Scatter Plot
✓ Published1🌍 Public
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 descriptionMIT Licensed