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 displays the relationship between sales and profit for eight months, with each steel-blue circle representing a month's data. The visualization uses a reusable scatter plot function built with D3 v7, which constructs linear scales for both axes and renders the SVG circles with coordinates mapped from the dataset. Axis labels, tick marks, and a title are generated using D3's `axisBottom` and `axisLeft` methods, while the data is loaded from a CSV file and parsed into numeric values. The chart emphasizes the positive correlation between the two variables.

AI-generated description
MIT Licensed

Similar vizzes