In the previous lesson, you learned how to create and label a line plot using Matplotlib! In this lesson, you’ll learn how to create and when to use different types of plots:

  • Compare categories of data with bar graphs
  • Show uncertainty in data using error bars and shading
  • Compare proportional datasets using pie charts
  • Analyze frequency data using histograms


Examine the plots in the file system to the right. You will be building these plots throughout the lesson! Continue to the next exercise when you’re ready.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?