Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Create a Simple Bar Chart | Bar Charts
Visualization in Python with matplotlib
course content

Course Content

Visualization in Python with matplotlib

Visualization in Python with matplotlib

1. Basics: Line Charts
2. Bar Charts
3. Scatter Plots

bookCreate a Simple Bar Chart

Task

You are given dataframe data with rainfall information for Indian cities/districts. Your tasks are:

  1. Filter the observations from data so that only rainfall data for 'NEW DELHI' will remain. Save this information within the new_delhi variable.
  2. Create Axes and Figure objects (use fix, ax variables).
  3. Initialize a bar chart with Month column values on the x-axis and Rainfall column values on the y-axis (new_delhi data).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 2
toggle bottom row

bookCreate a Simple Bar Chart

Task

You are given dataframe data with rainfall information for Indian cities/districts. Your tasks are:

  1. Filter the observations from data so that only rainfall data for 'NEW DELHI' will remain. Save this information within the new_delhi variable.
  2. Create Axes and Figure objects (use fix, ax variables).
  3. Initialize a bar chart with Month column values on the x-axis and Rainfall column values on the y-axis (new_delhi data).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 2
toggle bottom row

bookCreate a Simple Bar Chart

Task

You are given dataframe data with rainfall information for Indian cities/districts. Your tasks are:

  1. Filter the observations from data so that only rainfall data for 'NEW DELHI' will remain. Save this information within the new_delhi variable.
  2. Create Axes and Figure objects (use fix, ax variables).
  3. Initialize a bar chart with Month column values on the x-axis and Rainfall column values on the y-axis (new_delhi data).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task

You are given dataframe data with rainfall information for Indian cities/districts. Your tasks are:

  1. Filter the observations from data so that only rainfall data for 'NEW DELHI' will remain. Save this information within the new_delhi variable.
  2. Create Axes and Figure objects (use fix, ax variables).
  3. Initialize a bar chart with Month column values on the x-axis and Rainfall column values on the y-axis (new_delhi data).

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 2
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt