Representing Data Graphically: Apply It 1

  • Organize data using tables, charts, and graphs
  • Create and analyze side-by-side and stacked bar graphs
  • Create and analyze graphs of quantitative data

Java Journeys: Uncovering Coffee Consumption Patterns with Statistics

A table at a coffee shop

 

Rebecca and Carlos are two undergraduate students studying statistics. Both of them love to study at the campus coffee shop, ‘Espresso Express’. They notice that their coffee-drinking habits change according to the time of the semester and the kind of classes they have. Intrigued by this observation, they decide to apply their statistics knowledge to better understand these patterns.

Over a month, they recorded the types of beverages they ordered while studying. Here are their records:

Rebecca’s Orders: [Espresso, Latte, Espresso, Americano, Latte, Latte, Cold Brew, Cold Brew, Americano, Latte, Espresso, Americano, Americano, Cold Brew, Latte, Espresso]

Carlos’s Orders: [Latte, Cold Brew, Americano, Cold Brew, Espresso, Espresso, Cold Brew, Latte, Americano, Espresso, Cold Brew, Cold Brew, Americano, Latte, Cold Brew, Espresso]

Based on this data, help them create a frequency table for their orders.

Using the frequency table, it should be easy to create a bar graph for this data.

Now, Rebecca and Carlos want to see their coffee habits compared side-by-side.