Hello. Welcome to Knowledge City's course on Python for Data Visualization. My name is Brian Higgins, and in these lessons, you will get an overview of data visualization using the Python Matplotlib library. In this lesson, we will draw our first plot. Before we begin, it will be helpful to have some definitions. Data visualization is the representation of information in the form of a chart, diagram, picture, etc. To make data easier for someone to understand and pull insights from. Data visualization is used mainly to explore, monitor, and explain. In exploring data, one is looking for patterns and insights in the data. When monitoring data, one is checking the performance of something. Data visualization is often used to explain why something occurs with simple graph or chart. Matplotlib is an open source Python library, which is most commonly used for data visualization and line charts. Pyplot is the Matplotlib sub-module we will use in this lesson to draw our line charts. A line chart connects a series of data points using a line. It's also known as a line graph or a line plot. The tool we'll be using in this lesson is JupyterLab. It runs Jupyter notebook files which allow documentation and Python code cells to be interspersed to best explain the coding logic being performed. The .ipynb file suffix indicates that the file itself is a Jupyter notebook file. So for instance, testing.ipynb is a sample file name for a Jupyter notebook file. Let's start looking at some of our code cells for this lesson. This first code cell, highlighted on the bottom of the screen, will basically import the matplotlib library and then print out its version. Let's execute this code. Notice we printed out the version of matplotlib 3.5.1. Normally we'll use this just as a sanity check or a check to make sure that we're using the proper version that we expect to be using of this library. In the next coding cell, we import the pyplot submodule of the matplotlib library and give it the alias PLT. Let's execute this code cell. Since we're just importing a library here, nothing will show as an output. Next, we're going to draw our simple line plot. We're going to draw a line between two points with the x-y coordinates 1, 0 and 13, 51 where the x-coordinates are 1 and the 13 and the y- coordinates are the 0 and the 51. In our coding cell, we define our x-coordinates and y-coordinates in a list. So our x-coordinates list and our y-coordinates lists have the values that we specified above. In the next command, we're going to call the pyplot function plot, passing in the x-coordinates and the y-coordinates lists. Let's run this code cell to generate our first line plot. Notice what appears is the address of this line plot that we created along with our plot itself, graphing the line between points 1, 0 on the bottom and 13, 51 on the top. Lastly, we'll call our pyplot plot function with our coordinates, and then we'll call the pyplot show function, which will essentially refresh our graph without showing the address. Normally, when we show a line graph, we don't want to see the address. So this show function eliminates that. Okay, notice at the bottom here, you don't see the address anymore, you simply just see the plot.