In [8]:
import matplotlib.pyplot as plt
import csv
a = []
b = []
with open('data/dc_hyperscale.csv','r') as csvfile:
plots = csv.reader(csvfile, delimiter=';')
for row in plots:
a.append(int(row[0]))
b.append(int(row[1]))
plt.bar(a,b, label='Hyperscale Data Centers')
plt.xlabel('Ano')
plt.ylabel('Número')
plt.title('Crescimento Global de Data Center')
plt.legend()
plt.show()
In [ ]: