Skip to main content
Unlisted

Share visualization

Loading preview…

Scatter Chart of Student Performance

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

Anyone with the link can view this unlisted visualization. Posting it publicly will make the link discoverable.

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Scatter Chart of Student Performance

0 stars0Unlisted
ZZhikai Xue
Last edited Sep 17, 2025
Created on Sep 16, 2025

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 description

Scatter 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.

MIT Licensed