CS 465 - Challenge Two

Published

September 25, 2025

DeliverableDue Date
Challenge 22025-10-01T23:59
Challenge 2 (revision)2025-10-24T23:59

Goals

  • Get some more practice making basic charts
  • Get some practice cleaning data

The second challenge is to draw some box plots.

Performance chart

I have once again set up an Observable Framework skeleton for you. As with Challenge 1, I’ve created a function which you will find in src/components/visualization.js. This function is called from src/index.md, and it should return the plot.

  1. Get the starter code by accepting the assignment from GitHub Classroom
  2. Clone the repository to your local computer with git clone
  3. Complete the visualization
  4. Make two observations about the data based on the visualization !. Complete the reflection
  5. Commit (git add and git commit) your changes and push them to GitHub (git push)
  6. Submit your work on Gradescope

Tips and hints

This graph was made using the Student Performance in Exams data set from Kaggle. The idea is to look at how aspects of the environment they were raised in affects their test scores. You will find the data in the scores variable.

  • The graph is 1200 by 800 (with some tweaks to the margins)
  • Pay attention to the ordering of the axis labels
  • Pay attention to the text of all of the labels

It should be fairly obvious that this is using a facet. However, one of the challenges here is that the data is not tidy. In order to match this graph you will have to manipulate the data first to get it into a format that would permit you to construct this visualization.

There are some automated tests on Gradescope that will provide a sanity check on your code. I still need to look at it myself, so nothing is finalized until I have checked off on it.