Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

import matplotlib.pyplot as plt import numpy as np data = {'Countries': [11.3, 7, 41, 12.5, 17.5, 28, 19.1, 23, 61]} df = pd.DataFrame(data,columns=['Recycling Rate'], index

import matplotlib.pyplot as plt

import numpy as np

data = {'Countries': [11.3, 7, 41, 12.5, 17.5, 28, 19.1, 23, 61]}

df = pd.DataFrame(data,columns=['Recycling Rate'], index = ['Brunie Darussalam', 'Indonesia', 'Cambodia', 'Timor-Leste', 'Malaysia', 'Philippines', 'Thailand', 'Vietnam', 'Singapore'])

df.plot.barh()

plt.title('The Recycling Rate in Southeast Asian Countries')

plt.ylabel('Countries')

plt.xlabel('Recycling Rate')

plt.show()

I'm not sure why it doesn't show me its number on the graph. What's wrong with this?? image text in transcribed

The Recycling Rate in Southeast Asian Countries Recycling Rate Singapore - Vietnam Thailand Philippines - Countries Malaysia Timor-Leste Cambodia Indonesia Brunie Darussalam -0.04 -0.02 0.02 0.60 Recycling Rate 0.64

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions