In exploratory data analysis, a data scientist notices that the distribution of a continuous variable is bimodal. The scientist suspects that the two modes correspond to two different groups in the data. Which visualization is MOST appropriate to confirm this suspicion?
Overlaying densities by group allows visual comparison of the two modes.
Why this answer
Option A is correct because a histogram with hue (color) for each group can show the separate distributions. Option B is wrong because a box plot shows summary statistics but not the shape. Option C is wrong because a scatter plot is for two continuous variables.
Option D is wrong because a bar chart is for categorical data.