Visualization Technique using Matplotlib :

Visualization Technique using Matplotlib :

A fundamental part of data science is data visualization :

Data visualization is the technique of communicating with data and exploring it .

Though there are plenty of libraries in python but for today post we will concentrate on matplotlib for data visualization .

In particular, we will be using the matplotlib.pyplot module. In its simplest use, pyplot maintains an internal state in which you build up a visualization step by step. Once you’re done, you can save it (with savefig()) or display it (with show()).


Lets gear up and make use of notebook :

Bar Chart :

A bar chart is a good choice when you want to show how some quantity varies among some discrete set of items.

Example : Showing class distribution with a sample data :

Suppose you have 30 males and 22 females in class lets see how it looks in bar chart :

Line Chart :

Line chart is usefull when showing trends with in a data distribution ,

Lot of example can be sighted will start with a simple one :

Pie Chart : Pie chart are useful in data analysis in show distribution of the various labels and its percentage .

Scatterplot :

Scatterplot of the data shows how likely or how similar the dataset is . Suppose the data is densely scatter at particular region ,its likely the data points have similarity :

Saving the plot in memory :

We will use visualization in more often in exploring data .

Till then happy Learning and Sharing !!

Instructor lead Online training in Datascience join our watsapp group

Upgrade your skills join our community

This Post Has 3 Comments

  1. I used to be very pleased to seek out this internet-site.I wished to thanks on your time for this excellent learn!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.

  2. wonderful post, very informative. I wonder why the other specialists of this sector don’t notice this. You must continue your writing. I’m confident, you’ve a huge readers’ base already!

  3. I simply wanted to say thanks yet again. I’m not certain the things that I might have taken care of without the solutions shared by you about such subject. Certainly was a real depressing issue in my position, but considering the very professional mode you processed the issue took me to cry with fulfillment. I’m grateful for your work and then expect you comprehend what a great job you are always carrying out instructing many others via your webpage. I know that you have never come across all of us.

Leave a Reply

Close Menu