Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

StudentScore_ScatterPlot

Public visualization

Viewing a saved revision (read-only)

9e655e10b7ae4e7d8e3db86e54d4d4de

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