Course Content
Visualization in Python with matplotlib
Visualization in Python with matplotlib
Create a Horizontal Bar Chart
Swipe to show code editor
For the same dataframe data
build a horizontal bar chart representing the average monthly rainfall level for New Delhi and Madurai. Follow the next steps:
- Initialize horizontal bar chart for the
new_delhi
data. Use values of the'Month'
column as the first parameter and values of the'Rainfall'
column as the second one. - Initialize horizontal bar chart for the
madurai
data and place it to the right of previously built data (new_delhi
). Setlabel
parameter to'Madurai'
.
Thanks for your feedback!
Create a Horizontal Bar Chart
Swipe to show code editor
For the same dataframe data
build a horizontal bar chart representing the average monthly rainfall level for New Delhi and Madurai. Follow the next steps:
- Initialize horizontal bar chart for the
new_delhi
data. Use values of the'Month'
column as the first parameter and values of the'Rainfall'
column as the second one. - Initialize horizontal bar chart for the
madurai
data and place it to the right of previously built data (new_delhi
). Setlabel
parameter to'Madurai'
.
Thanks for your feedback!
Create a Horizontal Bar Chart
Swipe to show code editor
For the same dataframe data
build a horizontal bar chart representing the average monthly rainfall level for New Delhi and Madurai. Follow the next steps:
- Initialize horizontal bar chart for the
new_delhi
data. Use values of the'Month'
column as the first parameter and values of the'Rainfall'
column as the second one. - Initialize horizontal bar chart for the
madurai
data and place it to the right of previously built data (new_delhi
). Setlabel
parameter to'Madurai'
.
Thanks for your feedback!
Swipe to show code editor
For the same dataframe data
build a horizontal bar chart representing the average monthly rainfall level for New Delhi and Madurai. Follow the next steps:
- Initialize horizontal bar chart for the
new_delhi
data. Use values of the'Month'
column as the first parameter and values of the'Rainfall'
column as the second one. - Initialize horizontal bar chart for the
madurai
data and place it to the right of previously built data (new_delhi
). Setlabel
parameter to'Madurai'
.