Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

StudentScore_ScatterPlot

Public visualization

StudentScore_ScatterPlot

0 stars0๐ŸŒ Public
AALIMINETI SPOORTHY REDDY
Last edited Oct 24, 2025
Created on Oct 24, 2025

This scatter plot visualizes the relationship between hours studied and exam scores for ten students. The chart displays a clear positive correlation, with data points plotted on a linear scale for both axes. Built with D3.js v7, the visualization loads data from a CSV file using `d3.csv` and constructs an SVG with `d3.select` and `append`. The code creates scales with `d3.scaleLinear` and renders axes via `d3.axisBottom` and `d3.axisLeft`. The reusable `scatterPlot` function applies steelblue, semi-transparent circles to represent each student's data.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed