Skip to main content
100%

Scatter Plot

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

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
MIT Licensed

Similar vizzes