-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompviz.Rmd
executable file
·165 lines (117 loc) · 2.72 KB
/
compviz.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
---
title: Design and compose `ggplot2` graph
subtitle: Using tidyverse in R
author: Muhammad Aswan Syahputra
output:
xaringan::moon_reader:
seal: false
lib_dir: libs
self_contained: false
css: xaringan-themer.css
nature:
ratio: "16:9"
highlightLanguage: r
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
---
```{r setup, include = F}
knitr::opts_chunk$set(
fig.width = 8,
message = FALSE,
warning = FALSE,
tidy = 'styler',
prompt = FALSE,
cache = FALSE,
dev = "svg",
fig.ext = "svg",
fig.retina = 3,
fig.showtext = TRUE
)
library(flipbookr)
library(tidyverse)
library(showtext)
font_add_google("Josefin Sans")
showtext_auto()
```
```{r xaringan-themer, include=FALSE}
library(xaringanthemer)
style_mono_accent(
base_color = "#1c5253",
header_font_google = google_font("Josefin Sans"),
text_font_google = google_font("Montserrat", "300", "300i"),
code_font_google = google_font("Fira Mono")
)
```
class: center, middle, title-slide
background-image: url(img/backdrop.jpg)
background-size: cover
# Design and Compose Graph
<!-- <br> -->
<!-- <img src="img/aswan_circle.png" width="150px"/> -->
<br>
### Building visualisation using `tidyverse`
.large[Muhammad Aswan Syahputra | Bandung | 24 Sep 2020]
---
# Hi, I'm Aswan!
.pull-left[
+ **Data analyst** @ [Jabar Digital Service](https://digitalservice.jabarprov.go.id)
+ **Sensometrics specialist** @ [Sensolution.ID](https://sensolution.id)
+ Initiator of [**Komunitas R Indonesia**](https://t.me/GNURIndonesia)
+ R **instructor** @ [DQLab](https://dqlab.id), [R Academy Telkom University](https://dbe.telkomuniversity.ac.id/r-academy/), and some universities
+ Passionate about: **Data carpentry** and **data visualization**
> Twitter: @aswansyahputra_
> Telegram: @aswansyahputra
]
.pull-right[
```{r, echo = FALSE, out.width = "80%", fig.align = 'center'}
knitr::include_graphics(path = "img/aswan.jpg")
```
]
---
# Elements of graphics
--
1. *Data*
--
2. *Mapping*
--
3. *Statistic*
--
4. *Scales*
--
5. *Geometries*
--
6. *Facets*
--
7. *Coordinates*
--
8. *Theme*
---
class: inverse, left, middle
# Small multiples
---
class: inverse, left, middle
# (Not) small multiples
---
class: center, middle
background-image: url(img/backdrop2.jpg)
background-size: cover
# Let's dive in!
---
class: inverse, center, middle
background-image: url(img/backdrop.jpg)
background-size: cover
# Thank you!
<!-- <br> -->
<img src="img/aswan_circle.png" width="150px"/>
<br>
### Contact me!
.large[[email protected]]
```{css, eval = TRUE, echo = FALSE}
.remark-code{line-height: 1.5; font-size: 80%}
@media print {
.has-continuation {
display: block;
}
}
```