Skip to main content
100%

Brush Example of Students Performance in Exams Scatter Plot

✓ Published0🌍 Public
Kkwmcclintick
Last edited Oct 26, 2021
Created on Sep 27, 2021

This scatter plot visualizes the relationship between reading and math scores from the Students Performance in Exams dataset, sourced from Kaggle. It uses d3.csv to load data and d3.scaleLinear for axes, rendering circles as SVG marks. Points are colored by test preparation status via d3.scaleOrdinal, with cyan for completed and purple for none. A d3.brush() interaction lets users select a region, recoloring enclosed points red to highlight subsets.

AI-generated description

An iteration of my HTML implementation of a D3 scatter plot. Shows the relationship between math and reading scores from the "Students Performance in Exams" data set loaded from my gist, which is sourced from Kaggle. In this iteration, I've colored the scatter plot to indicate if students have completed a test prep course (Cyan) or not (Purple).

10/18/20201: added brush example for assignment

MIT Licensed

Similar vizzes