From the course: Creating Projects for Interactive Data Visualization with Processing
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Chapter 13 challenge: Interacting with data - Processing Tutorial
From the course: Creating Projects for Interactive Data Visualization with Processing
Chapter 13 challenge: Interacting with data
Challenge four is about interacting with data. For this challenge, you're being asked to chart data from professional baseball teams in order to explore the relationship between the teams average runs per game by year. And their winning average for that year. That's because this is one of the biggest predictors of winning average. The data set has over 2,500 rows. It includes every major league team that played at least 100 games in a season between the years of 1883, that's less than 20 years after the end of the Civil War, up to 2010. Your job is to do the following. First, create a scatter plot that shows the relationship between average runs per game on the X axis, and the win percentage on the Y axis. Second, when a user hovers over a data point on the plot, provide the name of the team, its average runs per game, and its win percentages. Third, use keyboard commands to zoom in and out of the scatter plot. Fourth, allow the user to drag the scatter plot with a mouse. And then…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Chapter 3 challenge: Drawing with Processing1m 22s
-
Chapter 3 solution: Drawing with Processing7m 24s
-
Chapter 6 challenge: Drawing with data I1m 8s
-
Chapter 6 solution: Drawing with data I6m 2s
-
Chapter 10 challenge: Drawing with data II1m 36s
-
Chapter 10 solution: Drawing with data II11m 28s
-
Chapter 13 challenge: Interacting with data2m 20s
-
Chapter 13 solution: Interacting with data26m 40s
-
-