🌍 Public
Viewing a saved revision (read-only)
02d3b2f65c5f4deb87d44b4a9f8f79d0
Fork of D3 Starter 2
A scatter plot visualizes the relationship between study hours and exam scores for 120 student records from a CSV file. Each point is colored by student group (A, B, C, or D) using an ordinal color scale with the Tableau10 scheme. The D3 v7 code loads the external dataset via `d3.csv`, converts string values to numbers, and maps data to SVG circles with linear `d3.scaleLinear` axes. Interactive tooltips appear on `mousemove`, displaying group, study hours, and exam score.
AI-generated description