How to make a Bar Chart in Matplotlib
In order to make a bar chart in Matplotlib, you need to make sure that Python is installed on your computer.
If you already have Python installed, you can go ahead and install Matplotlib by running the command
Pip install matplotlib
When the installation is done, you can go ahead and execute the following code.
import matplotlib.pyplot as plt
x = ['January', 'February', 'March', 'April']
y = [10200, 8100, 15600, 13500]
plt.bar(x,y)
plt.xlabel('Month')
plt.ylabel('Sales')
plt.title('Sales for first 4 Months')
plt.show()
Once you run this, you are going to have a bar chart that looks like this one.

You can add a few lines of code to add color to your column bars, here is how you can add color to make your column bars stand out.
import matplotlib.pyplot as plt
x = ['January', 'February', 'March', 'April']
y = [10200, 8100, 15600, 13500]
colors = ['green','red', 'orange', 'black'] # colors for each column bar
plt.bar(x,y, color=colors) # add a color parameter
plt.xlabel('Month')
plt.ylabel('Sales')
plt.title('Sales for first 4 Months')
plt.show()
When you make that change and run your code, your bar chart will look like this.

You can watch the tutorial on how to make a bar chart with Python in Matplotlib here.