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()
Sur cette page du site, vous pouvez voir la vidéo en ligne Data Visualization with Python matplotlib | Program1 III Bsc Computer| M.S University | Web Academy durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Web Academy 12 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 152 fois et il a aimé 8 téléspectateurs. Bon visionnage!