Python is a powerful tool for representing numbers in the form of charts. Created first graph by importing matplotlib.
This is an example for line chart created using Python.
Bar Graph: Depending on the problem for which we are plotting Bar Chart we have to choose our functions. I have used pynum library because my code has many numeric functions. The code snippet used to generate the following bar graph.