Unit-3 Intr Data Science
Unit-3 Intr Data Science
Name
FusionCharts
Power BI
Whatagraph
Tableau
Qlik
Model Building
• Data Scientist
• Data Engineer
• Data Analyst
• Statistician
• Data Architect
• Data Admin
• Business Analyst
• Data/Analytics Manager
Data Scientist
https://sefiks.com/2018/01/10/real-time-facial-expression-recognition-on-streamin
g-data
/
Data Visualization in R.
36 118 8.0 72 5 2
12 149 12.6 74 5 3
18 313 11.5 62 5 4
NA NA 14.3 56 5 5
28 NA 14.9 66 5 6
Bar Plot
• There are two types of bar plots- horizontal and vertical
which represent data points as horizontal or vertical
bars of certain lengths proportional to the value of the
data item. They are generally used for continuous and
categorical variable plotting. By setting
the horiz parameter to true and false, we can get
horizontal and vertical bar plots respectively.
• Example:
• # Horizontal Bar Plot for
• # Ozone concentration in air
• barplot(airquality$Ozone,
• main = 'Ozone Concenteration in air',
• xlab = 'ozone levels', horiz = TRUE)
# Horizontal Bar Plot for
# Ozone concentration in air
barplot(airquality$Ozone,
main = 'Ozone Concenteration in air',
xlab = 'ozone levels', horiz = TRUE)
plot(airquality$Ozone, airquality$Month,
main ="Scatterplot Example",
xlab ="Ozone Concentration in parts per
billion",
ylab =" Month of observation ", pch = 19)
Scatter Plots are used in the following
scenarios:
• To show whether an association exists
between bivariate data.
• To measure the strength and direction of such
a relationship.
Heat Map
• Heatmap is defined as a graphical representation of
data using colors to visualize the value of the
matrix. heatmap() function is used to plot heatmap.
• Syntax: heatmap(data)
• Parameters: data: It represent matrix data, such as
values of rows and columns
• Return: This function draws a heatmap.
# Set seed for reproducibility
# set.seed(110)
# Column names
colnames(data) <- paste0("col", 1:5)
rownames(data) <- paste0("row", 1:5)
# Draw a heatmap
heatmap(data)
Map visualization in R
• Here we are using maps package to visualize and
display geographical maps using an R
programming language.
• install.packages("maps")
# Read dataset and convert it into
# Dataframe
data <- read.csv("worldcities.csv")
df <- data.frame(data)
# prepare variables.
x <- y <- seq(-1, 1, length = 30)
z <- outer(x, y, cone)