Activity 6 Question 4
✓ Published0🌍 Public
A bubble chart of student scores maps math and reading performance for ten students, with circles sized by weekly study hours. The visualization encodes each student’s test results as x- and y-coordinates, while a square-root scale sets bubble radius to reflect study time, enabling quick comparison of academic achievement and effort. Built with D3 v7, the chart uses `d3.scaleLinear` for axes, `d3.scaleSqrt` for bubble sizing, and `d3.axisBottom` and `d3.axisLeft` to render scales. Interactive hover tooltips, implemented with D3 event listeners and a styled HTML division, display each student’s name, scores, and study hours. Data comes from the included CSV file, and the SVG rendering includes explicit margin and transform logic.
AI-generated descriptionMIT Licensed