Fork of Fork of Scatter Plot
✓ Published1🌍 Public
This scatter plot visualizes the relationship between monthly Sales and Profit using data from a CSV file. The chart is built with a reusable `scatterPlot` function that defines linear scales via `d3.scaleLinear`, axes using `d3.axisBottom` and `d3.axisLeft`, and circles positioned with `cx` and `cy` attributes. It reads the data with `d3.csv`, converts numeric fields, and renders 800×500 SVG output with labeled axes and a title. The points are filled in steelblue, with a radius of 6 pixels, showing a positive correlation between the two variables.
AI-generated descriptionMIT Licensed