Skip to main content
100%

Scatter Plot

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

This example shows a reusable scatter plot of monthly sales versus profit, with each circle representing a month’s data from a CSV file. The visualization uses D3 v7 to load the data via `d3.csv`, then builds a linear scale for both axes with `d3.scaleLinear`. Axes are rendered using `d3.axisBottom` and `d3.axisLeft`, while circles are appended to an SVG container with fixed radii and a steelblue fill. The chart includes labeled axes and a title, all styled through CSS classes.

AI-generated description
MIT Licensed

Similar vizzes