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