Skip to main content
100%

Reusable Scatter Plot

✓ Published0🌍 Public
PP Manisha
Last edited Oct 26, 2025
Created on Oct 26, 2025

This scatter plot from the D3.js gallery visualizes the relationship between math and reading scores for individual students, with each point positioned by d3.scaleLinear scales and rendered as an SVG circle. The reusable ScatterPlot function, exported from scatterPlot.js, accepts data, accessor functions, and margin/width/height parameters to generate axes via d3.axisLeft and d3.axisBottom. It loads student performance data from a GitHub-hosted CSV file, parsing numeric fields before plotting steelblue circles, with axis labels added using SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes