How to create visualizations in Python

Manpreet Singh
3 min readFeb 15, 2021

One of the most important things you can do with Python (as far as data processing goes) is creating visualizations with your data. First off, make sure you have Python installed on your machine, if not please read this guide that I made, next up make sure you have “pip” installed on your machine, if not please read this guide that I also made. Awesome, we’re ready to start!

Data Setup

At this point let’s go ahead and install the packages that we need. Let’s go ahead and install this package with one of the following commands:

#FOR PYTHON 2 USE THIS
pip install matplotlib
#FOR PYTHON 3 USE THISpip3 install matplotlib#IF YOU'RE USING ANACONDA USE THISconda install matplotlib

Awesome, now that we have this package installed, be sure to have the pandas package installed as well, install this package by using the following command:

#FOR PYTHON 2 USE THIS
pip install pandas
#FOR PYTHON 3 USE THISpip3 install pandas#IF YOU'RE USING ANACONDA USE THISconda install pandas

--

--

Manpreet Singh
Manpreet Singh

No responses yet