Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 3.92 KB

data-visualization.md

File metadata and controls

59 lines (47 loc) · 3.92 KB

STARS Exploring CS

Week 6 Homework

Data Visualization

Due Friday, 05/12, at 9pm

Goals

The purpose of this exercise is to give you a chance to create a data visualization using Processing.

Inspiration

Specification

In this assignment you should create a unique data visualization using a small set of data (of any kind). Your program must dynamically create the visualization from the data set (this means I should be able to change your data, and the visualization will change too). Your visualization should be graphically interesting, and should include some sort of user interaction or changes based on actions the user takes.

Your program should use loops(for or while, or both), at least one array, methods and parameters. The birthday visualization we created is a good example of what I am expecting.

This is a much more challenging assignment then past assignments so please plan your time accordingly—come to office hours if you need help!. You should complete your program in stages, and reach out to your instructor if you get stuck or need any help along the way.

Tips

  • Choose a small dataset, or a subset of a large data set
  • Sketch and plan your ideas before you start to code
  • Start small, get small pieces working first; don't try and write your code all at once
  • Add in the user interactions last, after you get the visual representation of the data working

Optional Extensions

  • Learn how to read your data from a .csv into an array, instead of storing the data directly in your program
  • Build tools that let your users manipulate the data visualization on screen

Grading Rubric

Description Points
Student created a unique, visually interesting, and interactive data visualization using Processing 4 pts
Students program dynamically interacts with the data 4 pts
Student used at least one array to hold and access their data and used array syntax correctly throughout their code 4 pts
Student used loops correctly throughout their code when appropriate 2 pts
Student used methods and parameters throughout their code when appropriate 2 pts
Student fully commented their code as described in the assignment 2 pts
Student used good style practices, including descriptive names, white space, and indentation 2 pts
Extra Credit: Student read data from a .csv into their array 1 pt
Extra Credit: Student built in interactions that allowed the user to manipulate the visualization 2 pts
  • Your code should have a top comment block with your name, last edited date, and a brief description of the entire program
  • Each line in setup and draw should have a comment
  • Each method that you created should have a top comment briefly explaining what that method does (note that setup and draw do not need top comments)

Student Examples