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
course content

Зміст курсу

Visualization in Python with matplotlib

Visualization in Python with matplotlib

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

Create a Horizontal Bar Chart

Завдання

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'.

Завдання

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'.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 8
toggle bottom row

Create a Horizontal Bar Chart

Завдання

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'.

Завдання

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'.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 8
toggle bottom row

Create a Horizontal Bar Chart

Завдання

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'.

Завдання

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'.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Завдання

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'.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 8
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt