Line charts are used to represent the relation between two data X and Y on a different axis Here we will see some of the examples of a line chart in Python Simple line plots First import Matplotlibpyplot library for plotting functions Also, import the Numpy library as per requirement Then define data values x and y