🌍 Public
Viewing a saved revision (read-only)
89f46fae17d94ed381cef57be650fd44
Scatter Plot
This scatter plot visualizes the relationship between monthly sales and profit, with each circle representing a month. The reusable `scatterPlot` function generates linear scales using `d3.scaleLinear` and axes via `d3.axisBottom` and `d3.axisLeft`. Data is loaded from a local CSV file and parsed with `d3.csv`. The SVG rendering includes labeled axes and a titled chart, with circles styled in steelblue using the `enter` selection pattern.
AI-generated description