Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Scatter Plot

Public visualization

Viewing a saved revision (read-only)

12edcc8ff6934fda933b86d0a351148f

Fork of Fork of Scatter Plot

0 stars1🌍 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 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 description