-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
52 lines (41 loc) · 938 Bytes
/
index.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
---
title: "Meu relatório"
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
theme:
version: 4
bg: "#101010"
fg: "#FDF7F7"
primary: "#ED79F9"
base_font: !expr bslib::font_google("Prompt")
code_font: !expr bslib::font_google("JetBrains Mono")
---
```{r setup, include=FALSE}
library(flexdashboard)
```
Column {data-width=650}
-----------------------------------------------------------------------
### Chart A
```{r}
library(ggplot2)
dados::dados_starwars |>
dplyr::count(sexo_biologico) |>
ggplot() +
aes(x = sexo_biologico, y = n) +
geom_col() +
theme_minimal(12)
```
Column {data-width=350}
-----------------------------------------------------------------------
### Chart B
```{r}
dados::dados_starwars |>
dplyr::arrange(dplyr::desc(altura)) |>
dplyr::slice_head(n = 10) |>
DT::datatable()
```
### Chart C
```{r}
```