Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Horizontal bar graph OO interface

import pandas as pd
import matplotlib.pyplot as plt

top20_deathtoll = pd.read_csv('top20_deathtoll.csv')
fig, ax = plt.subplots(figsize = 4.5,6))#mobile friendly proportion
ax.barh(df['x'],
        df['y'])
plt.show()
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #Horizontal #bar #graph #OO #interface
ADD COMMENT
Topic
Name
5+4 =