Skip to main content
100%

Scatter Plot

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

This scatter plot visualizes the relationship between monthly sales and profit for eight months of data, with steelblue circles mapping profit against sales on linear scales. The chart uses D3 v7 to load the CSV file, convert string values to numbers, and render axes and circles as SVG elements. Each data point is positioned using linear scales created with `d3.scaleLinear`, while `d3.axisBottom` and `d3.axisLeft` generate the tick marks, with the plot drawn inside a set margin using an SVG group transform.

AI-generated description
MIT Licensed

Similar vizzes