🌍 Public
Viewing a saved revision (read-only)
660f0652599540cd9e675ae65d2f6dfe
Fork of HTML Starter
This visualization displays the relationship between hours studied and exam scores as a scatterplot of blue circles, with the average exam score shown in a summary box above the SVG. The code loads a CSV file from GitHub using `d3.csv`, converts the numeric fields with the unary plus operator, and computes the mean via `d3.mean`. It binds the parsed data to circles using `selectAll` and `data().enter().append`, positioning each point along the x-axis by index and mapping exam scores to the y-axis with a fixed scale.
AI-generated description