Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment

Public visualization

Assignment

0 stars0🌍 Public
Ppavanireddy03sai@gmail.com
Last edited Mar 1, 2026
Created on Mar 1, 2026

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 description

Comments

Sign in to join the discussion.

MIT Licensed