This scatter chart shows the relationship between student age (X-axis) and final grade G3 (Y-axis), with each dot colored by a categorical attribute such as school or address to compare group patterns. The React app loads student performance data from a CSV file using D3 v7's `csv` method, then passes it to a custom `viz` function that renders circles with `scaleLinear` axes, `scaleOrdinal` color encoding, and light jitter to reduce overplotting. Data originates from the UCI Machine Learning Repository's Student Performance dataset.
AI-generated descriptionScatter Plot – Age vs Final Grade (G3)
This scatter plot visualizes the relationship between
students’
age (X-axis) and their final grade G3 (Y-axis).
- Each dot represents one student–subject record (Math or Portuguese).
- Color encodes a chosen categorical field (e.g., school, address, mother’s job, or father’s job) to compare groups.
- A light jitter is applied to reduce overplotting; it does not change the overall pattern.
This chart helps assess whether older or younger students tend to achieve higher final grades and how different groups compare along the Age → G3 relationship.
Axes
- X: Age (years)
- Y: G3 (0–20)
Data Source:
UCI Machine Learning Repository – Student Performance
https://archive.ics.uci.edu/dataset/320/student+performance
Data Link:
View on VizHub
Comments
Sign in to join the discussion.