Assignment
✓ Published0🌍 Public
This scatter plot displays the relationship between students’ weekly music listening hours and their self-reported focus level, with each circle representing one student. The visualization uses D3.js v7 to load CSV data from a GitHub repository and render an SVG chart with linear scales, axes, and labeled axes for both variables. The `d3.csv` method parses the data, while `d3.scaleLinear` maps values to pixel positions, and circles are appended with a steelblue fill that turns orange on hover via CSS.
AI-generated descriptionMIT Licensed