A dataset contains total population of male and female students in India. Which graph should be preferred to show the total and gender population?
A dataset contains total population of male and female students in India. Which graph should be preferred to show the total and gender population?
Solution
A bar graph is used to compare values across categories. Here the categories are male, female and total, so each gets its own bar and the heights can be compared at a glance.
Option 1: a box plot shows the spread (median, quartiles, outliers) of a numerical variable, not a single total for each category.
Option 2: a histogram shows the frequency distribution of a continuous variable in bins, and its bars touch because the data is continuous. Male/female is categorical.
Option 3: a scatter plot shows the relationship between two numerical variables, which is not what is needed here.
Related questions:
2026: 19 May Shift 1
2026: 11 May Shift 2