Fork of D3 Starter
✓ Published2🌍 Public
This interactive scatter plot visualizes student test scores, plotting Math scores on the x-axis and Science scores on the y-axis, with points colored red or green depending on study hours. The reusable `scatterPlot` function dynamically creates linear scales, axes, and labels using `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. Hovering over a point reveals a tooltip with the student’s name, scores, and study hours. Data loads from a remote CSV via `d3.csv` and renders as SVG circles within a fixed 600×450 canvas.
AI-generated descriptionMIT Licensed