Halaal, before going ahead in the session, let's have a quick recap of what we have done in this project.
In so doing, lots of preparation and we have analyzed using this heat map what exactly is a crude map
representation of different countries with respect to the activity of these recovered cases and all
of these things.
Then we have found this amazing trend over here.
After that, we have concluded with respect to all different, different county.
We have to the which country has Baghdad population to test the ratio that we have.
Something can do almost to Western countries have battered population to pastern ratio comparative to
the Asian countries.
After what we have done, we have performed.
This is tech bossart analysis with respect to all these features.
So in this session, we had this assignment, the very first of a statement we have to analyze what
exactly are our worst 20 countries having a maximum number of confirmed cases, four days, what I am
going to do over here.
So I'm just going to use simple bar chart over here.
I'm going to say start bar.
And the very first I have to mention what exactly my name is so that I'm going to say my data for this
one, I just need to know.
So I log of zero to twenty.
That's what we have done in a previous session after it on Y-axis.
Let's say I just want my horizontal pad chart.
It means on y axis I have to assign this country reason, which is exactly this one.
So on y axis, I have to assign this much.
And basically on X axis I have to assign what exactly is my total cases where I'm going to say on x
axis I am nothing.
But my total case is feature after eight.
What I have to do, let's say if I'm going to press shift plus tabular here, you will get all your
custom parameters over here and here you have a barometer, which is exactly your text parameter.
So in this text parameter, what I have to pass, I have to basically pass, say, my total kasit.
It means I have to assign that bar on the basis of this total number of Kasit.
So here, I would say on the basis of this total cases, I have to assign this color bar as well.
So let's say I'm going to say this is exactly my figure.
And if you have to assign some title, you guys can simply say fig dot of date on this score.
It means I'm just going to update my by default layout over here.
So the very first parameter, I have to say, I'm also going to modify my template like my top at this
time is exactly my floridly on score dark.
And I forget what I have to say.
I have to assign some title as well.
So here I'm going to say, let's say a title and a score text is nothing, but let's say top 20 countries
of total confirmed cases.
Whatever title you want to assign, it's all up to you.
So what I would say top 20 countries of total confirmed cases, I'm going to say total confirmed cases.
And this is exactly my title after it.
What I have to do, I have to just call show on my finger, which is exactly the object of Barcott.
So just execute this.
But before executing, let me assign some parameter, which is exactly monocular.
It means on the basis of what feature I have to assign this color bar on the basis of this country reason.
So here in this color bar, let's say I have to assign color to the bar on a basis of this total cases
where I'm going to say in this color, I have all these stuff.
And this text exactly means whenever you are going to go on your bar, so whatever data that will get
displayed is exactly your text.
So if you are going to execute this, you will get this amazing bar chart would look at it how user-friendly
it is.
You can definitely download it as well.
Let's say here you have a multiple feature.
So let's say you have to zoom in, you have to zoom out, you have to select some particular boundary,
whatever you want here.
Do you have all the stuffs available here and here?
You can conclude here this USA, Brazil, India, the top three countries having the highest number
of confirmed cases for as of today, we have Russia, Africa, Mexico, Pelote and Colombia, lots of
other countries as well.
Similarly, the next statement, we have to analyze the top 20 countries having max total that.
So I'm just going to copy all these stuffs and just going to paste.
Just I have to do some modifications over here.
This time, I have to say here, my all these stuffs are OK, but in the place of this data frame,
I need something else.
So let's say I'm going to say a word on this called data dot short underscore values, which is exactly
this one.
And here I have to say on what basis I have to short it.
So I have to short it on the basically on the basis of this total debt.
And after it, I have to assign a parameter, which is exactly my standing.
So here I'm going to say ascending equals to false.
And if I'm going to execute it, you will get all your amazing is taxed over here and you will see this
total.
Is that right now in sorted order, it means you need this data frame to visualize.
So here I'm going to say I'm just going to copy all these stats over here.
And the very first one I have to just paste over here.
And on y axis, I just need country citizen.
And on X axis, I definitely need something else which is exactly total that total deaths, which is
exactly this one, because I have to say, I have to assign discolor on the basis of this total debt,
whereas on X axis I also need the steps.
So here I am going to say on X axis, I have just this total that's after it.
This text is also my total debt.
And after having all these tests, what I'm going to do, I have to some modification in this title
text as well.
So I'm going to say this is nothing but my daughter.
That's it.
Just execute it and you will get some amazing bosshard over here.
So you will see this is right, very complex.
So definitely you need some top 20 countries.
It means here you guys can say I just need top 20 countries.
So here you can see from zero to top 20.
Here you have to assign this one and twenty over here say just execute and it will take a while and
it will give us this amazing result over here.
And if you see or hear here, you have a text assigned to each of the bodies as well.
And with respect to us.
So you will see how much bigger this body is, because definitely in us we have a highest number of
deaths.
We all know this after we have Brazil, then we have Mexico, then we have UK and operate on this number.
We have India because India has not that much number of deaths comparatively to the all other countries
of the world.
After what we have to do, we have to analyse a third problem, a statement in which we have to find
was 20 countries having maximum active cases.
It means this time what I have to do, I have to short this data.
I have to short this data on the basis of active cases, because in this statement I had to analyse
having a maximum number of active cases.
It means here I have to just say, let me say a word on this call data columns over here to cross-check
what exactly the column name.
So here my column name is this one, which is exactly my active cases.
So here I have to just do some modification as active cases.
After eight on X-axis, I just need these active cases.
Then I have to assign color to the bar on the basis of these active cases.
Then definitely I have to show my active cases as well on my bar.
That's it.
And definitely you have to update your title as well.
So I have to say top 20 countries of active cases and all aristos are okay now.
And if I'm going to execute this one now, you will get this amazing start over here with respect to
your active number of cases.
Still us, it has maximum number of active cases.
So let's go ahead with our next following statement in which we have to analyze what are my first 20
countries having a maximum number of legal cases.
It means you have to just short listed on the basis of record cases.
That said, or if you want to do this task in a much more smarter way, then I will suggest to just
go ahead and create a function of that and just call this number of different features as a parameter
and just gather with that what we have done in the very first session using this one, we have just
created a function and just call this function passing different different files and we get our duffing
in a similar way.
You can perform this tax.
So definitely this is your assignment.
And that you have to do because you have to apply a lot of efforts over here to do your analysis in
a much more better way by writing some good quality, of course.
So here I am going to say I have to share this data basically on the basis of this record.
So here I have a column, which is exactly my total recovered.
So I'm going to say I have two very first shot to my data frame on the basis of this total recovered
after I'm going to say on X-axis, I just need this column.
And definitely on the basis of these recovered cases, I have to assign my color.
Then I have to assign this record cases and text as well.
That's it.
After doing all this stuff, I have to manipulate my title as well.
So I'm going to say top 20 countries in terms of recovery cases or you can say total recovered cases
or you can say cases.
So just execute this over here.
And this is an amazing result that you will see us has the highest number of recovery cases.
After we have Brazil, we have India.
So from these four results, you can definitely come up with some conclusion.
Yeah, almost in each and every visa we have something like hierarchy that very first we have Usted
and we have Brazil and then we have India, then probably we have Russia.
So this is exactly a trend for each of the features, what we have analyzed over here.
So you can showcase that conclusion in your report, in your PowerPoint, and you can represent it to
stakeholder, to your client, whatever you want.
So that's all about the session.
I hope you love this session very much.
Thank you.
Have a nice day.
Keep learning.
Keep growing.
Keep practicing.