Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 7-Part 3- Line chart

Public visualization

Viewing a saved revision (read-only)

3c92c163b7274e4291dc86d28271d7ec

Assignment 7-Part 3- Line chart

0 stars1🌍 Public
AAriful Hasan
Last edited Mar 29, 2026
Created on Mar 29, 2026

A line chart visualizes how average math scores change with hours of study, using a dataset of student scores from a CSV file. The x-axis represents hours of study, while the y-axis shows the average math score for each hour group, with data points marked by orange circles and connected by a blue line. Built with D3.js v7, the visualization loads `student_scores.csv`, aggregates scores using `d3.rollup` and `d3.mean`, and renders the chart as SVG with `d3.csv`, `d3.scaleLinear`, `d3.line`, and axis functions.

AI-generated description