🌍 Public
Viewing a saved revision (read-only)
f1d25badb7614308a22420687326b451
Activity6_Question3
A scatter plot shows the relationship between study hours per day and GPA for 30 students, with points shaped and colored by academic track (CS, Data, or AI). The code uses D3 v7’s `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.symbol` to render SVG paths with circles, triangles, and diamonds. Axes include grid lines, and a custom legend maps each track to its shape and color. Data is loaded via `d3.csv` from a remote gist.
AI-generated description