🌍 Public
Viewing a saved revision (read-only)
98b6f1708f58412180e1b765d08d9f4a
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