Data visualization is the graphical representation of information and data.
Data visualization provides a good, organized pictorial representation of the data which makes it easier to understand, observe, analyze.
Python today is one of the most popular simple universal languages for data visualization.
It is often the best choice for solving problems in Machine Learning, Deep Learning and Artificial Intelligence.
Matplotlib is an easy-to-use, low-level data visualization library that is built on NumPy arrays.
To install this type the below command in the terminal.
pip install matplotlib
Program 1
import matplotlib.pyplot as plt
initializing the data
x = [10, 20, 30, 40]
y = [20, 25, 35, 55]
plotting the data
plt.plot(x, y)
Adding title to the plot
plt.title("Linear graph", fontsize=25, color="green")
Adding label on the y-axis
plt.ylabel('Y-Axis')
Adding label on the x-axis
plt.xlabel('X-Axis')
plt.show()
On this page of the site you can watch the video online Data Visualization with Python matplotlib | Program1 III Bsc Computer| M.S University | Web Academy with a duration of hours minute second in good quality, which was uploaded by the user Web Academy 12 September 2022, share the link with friends and acquaintances, this video has already been watched 152 times on youtube and it was liked by 8 viewers. Enjoy your viewing!