As others say, Matplotlib is your friend. Sort of
import numpy as np import matplotlib.pyplot as plt plt.figure() indices = np.arange(4) width = 0.5 plt.bar(indices, [10, 3, 6, 10], width=width) plt.xticks(indices + width/2, ('Apples', 'Oranges', 'Tomatoes', 'Pears')) plt.show()
you will start. Loading data from a text file is straightforward.
source share