You are on page 1of 8

CA-1

Name: Shamil Papparath


Roll No: RQ2021A07
Reg no: 12000522
Section: Q2021
Subject: Business Analytics-1 (MGNM 801)
Faculty Name: Dr. Avinash Rana
LINE GRAPH

SYNTAX
Data= Population$`2022`
plot(Data, type= "o", col= "red",main = "TOTAL POPULATION OF 2022",
xlab = "Index", ylab = "Data")

ANALYSIS
The above Line Graph shows the data of Total World Population in the year
2022 on Country basis. The graph goes from high level to low level as the data
starts from highest population country to lowest population country.
SYNTAX
Data= Unemployment_rate_in_India$`Unemployment 2018`
Data2= Unemployment_rate_in_India$`Unemployment 2019`
Data3= Unemployment_rate_in_India$`Unemployment 2020`

plot(Data,type = "o", main= "UNEMPLOYMENT RATE OF INDIA", col=


"blue", xlim= c(0,45), ylim = c(0,30))
lines(Data2,type= "o", col= "red", xlim= c(0,50), ylim = c(0,45))
lines(Data3,type = "o", col= "yellow", xlim= c(0,50), ylim = c(0,45))

ANALYSIS
The above line graph shows the unemployment rate in India for the years
2018,2019 and 2020.
HISTOGRAM

SYNTAX
Data= World_Population_Live_Dataset
hist(World_Population_Live_Dataset$`2022`,main="Population Of 2022 ")

ANALYSIS
The above Histogram shows the data of Total World Population in the year
2022. From the above data we can analyse that most of the countries are less
populated and a few countries are highly populated.
BAR GRAPH

SYNTAX
Data= Company_Revenues
library(ggplot2)
ggplot(Company_Revenues,aes(x=name,y=employees))+geom_bar(stat =
"identity") +labs(title = "Employees Of Companies",x="Company
Names",y="Employees")

ANALYSIS
The above Bar Graph shows the number of employees in different companies.
From the above data we can interpret that Walmart has highest number of
employees. And Freddie Mac has the lowest number of employees.
SCATTER PLOT

SYNTAX
library(ggplot2)
ggplot(Company_Revenues, aes(x=profits,y=revenues))+geom_point()

ANALYSIS
The above Scatter Plot is based on the Profits and Revenue of 80 fortune
companies.
BOX PLOT

SYNTAX
o = factor(Population$`Area Name`)
boxplot(Population$`Total Population`~Population$`Area Name`)

ANALYSIS
The above Box Plot is prepared on the data of population in different
Municipalities.
GEOM DENSITY

SYNTAX
library(ggplot2)
ggplot(Company_Revenues,
aes(x=employees))+geom_density(color=2,fill="Green")

ANALYSIS
The above density graph shows the employees in different companies. Most of
the companies have employees between the range 0-500000.

You might also like