Scatter Plot
✓ Published1🌍 Public
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 descriptionMIT Licensed