Skip to main contentSkip to solution

_______ in matplotlib also known as correlation plot, because they show how two variables are related.

Solution

✅ Correct Option: 4

A scatter plot (drawn with plt.scatter()) places one variable on the x-axis and the other on the y-axis, with each data point shown as a dot. The pattern of the dots shows whether the two variables are positively correlated, negatively correlated, or not related at all. This is why it is also called a correlation plot.


Bar graph: compares values across categories, not the relationship between two numeric variables.

Pie chart: shows parts of a whole as proportions.

Box plot: shows the spread of one variable (median, quartiles, outliers).

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question