Course Content
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Create a Simple Bar Chart
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Everything was clear?
Create a Simple Bar Chart
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Everything was clear?
Create a Simple Bar Chart
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Everything was clear?
Task
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).