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

Create a Horizontal Bar ChartCreate a Horizontal Bar Chart

Tarea

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:

  1. 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.
  2. Initialize horizontal bar chart for the madurai data and place it to the right of previously built data (new_delhi). Set label parameter to 'Madurai'.

¿Todo estuvo claro?

Sección 2. Capítulo 8
toggle bottom row
course content

Contenido del Curso

Visualization in Python with matplotlib

Create a Horizontal Bar ChartCreate a Horizontal Bar Chart

Tarea

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:

  1. 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.
  2. Initialize horizontal bar chart for the madurai data and place it to the right of previously built data (new_delhi). Set label parameter to 'Madurai'.

¿Todo estuvo claro?

Sección 2. Capítulo 8
toggle bottom row
some-alt