Assignment 7-Part 3- Line chart
✓ Published1🌍 Public
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 descriptionLine Chart - Assignment 7
This project shows a line chart using D3.js.
Dataset
File used: student_scores.csv
Visualization
- X-axis: Hours of Study
- Y-axis: Average Math Score
Explanation
This chart shows how the average Math score changes with study hours.
Author
Ariful Hasan
MIT Licensed