🌍 Public
question678
A scatter plot displays the relationship between study hours and exam scores for 20 students, using one colored dot per student with a steelblue fill, black stroke, and 70% opacity. The x-axis represents study hours from 0 to 10, while the y-axis shows exam scores from 0 to 100, with axis labels included. Built with D3.js v7, the visualization loads data from a CSV file via `d3.csv`, converts string values to numbers, and renders circles using D3’s data join, `scaleLinear` for axes, and `d3.axisBottom` and `d3.axisLeft` for tick marks.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.