1. Learn
  2. /
  3. Courses
  4. /
  5. Exploratory Data Analysis in R

Exercise

Bar chart expectations

Suppose you've asked 30 people, some young, some old, what their preferred flavor of pie is: apple or pumpkin. That data could be summarized in a side-by-side bar chart. Here are three possibilities for how it might look.

Which one of the bar charts shows no relationship between age and flavor? In other words, which shows that pie preference is the same for both young and old?

Instructions

50 XP

Possible answers