-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_content.R
43 lines (41 loc) · 948 Bytes
/
main_content.R
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
timeline <- fluidRow(
class = "d-flex justify-content-start align-items-center",
tags$div(
class = "col-4 ms-4 ps-4 year-input",
sliderInput(
"year",
"Year",
min = 2000,
max = 2022,
step = 1,
value = 2000,
sep = ""
),
),
tags$div(
class = "col-4 offset-1 d-flex justify-content-start",
actionButton("play", "Play", class = "me-3"),
actionButton("restart", "Reset")
)
)
plot_plotly <- conditionalPanel(
"input.type != '8D' ",
plotlyOutput(
"plot_plotly",
width = "100%",
height = "50vh",
)
)
plot_interactive <- conditionalPanel(
"input.type == '8D' ",
plotOutput(
"plot_interactive",
width = "100%",
height = "50vh"
),
checkboxInput(
"shownames",
"Show Country Names",
value = TRUE
)
)