Fork of HTML Starter
✓ Published0🌍 Public
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 descriptionMIT Licensed