Answered step by step
Verified Expert Solution
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??
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.64Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started