From CS 725/825 Fall 2017

CS725-F17: In-Class Work 2 (ICW2)

Contents (hide)

The goal of this exercise is to gain experience reading and discussing a couple of basic chart types. We'll look at a line chart, bar chart, and a scatterplot.


Line Chart

Les Miles was the coach of the LSU Tigers, my favorite college football team, from 2005-2015. Before that (2001-2004), he was coach of the Oklahoma State Cowboys. Let's look at his success in terms of winning percentage per year. Winning percentage is calculated as games won in a season divided by total games.

Line charts can show quantitative data vs. ordered data and allow you to show trends. This line chart shows his winning percentage (quantitative) vs. the year (ordered).

Data source:

Bar Chart

Each offensive play in football is either a run, pass, or kick. Here we'll look at rushing (run) statistics for the 20 teams with the highest rushing average per game.

Bar charts can show quantitative data vs. categorical data and allow you to lookup and compare values. This bar chart shows each team name (categorical) vs. the average yards gained by rushing per game (quantitative).

Data source:


In the previous graph, we looked at average rushing yards per game. Here we'll compare that to the team's winning percentage for the 2016 season.

Scatterplots can show quantitative data vs. quantitative data and allow you to find trends, outliers, distribution, and/or correlation. This scatterplot shows each team's winning percentage (quantitative) vs. that team's average rushing yards per game (quantitative). This chart is showing data for all 128 NCAA FBS teams. (Note that I had to combine data from 2 different tables to generate this chart.)

Data sources:

Retrieved from
Page last modified on September 01, 2017, at 12:29 PM