-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.Rmd
78 lines (61 loc) · 1.08 KB
/
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
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
```{r, include=FALSE}
library(gior)
library(dplyr)
library(htmltools)
data("country_data")
globe <- country_data %>%
gior() %>%
g_data(from, to, value) %>%
g_style("gorgeousDream")
```
```{r, echo=FALSE}
h1(code("gior"), class = "text-center")
div(
class = "row",
div(
class = "col-md-4",
p(
"An htmlwidget for",
tags$a(
"gio.js",
href = "http://giojs.org/",
target = "_blank"
)
),
tags$a(
"Shiny demo",
class = "btn btn-default",
href = "https://shiny.john-coene.com/gior-shiny/"
)
),
div(
class = "col-md-8",
globe
)
)
```
> A Declarative 3D Globe Data Visualization Library built with Three.js
## Installation
You can install `gior` with `devtools`
```r
devtools::install_github("JohnCoene/gior")
```
or `remotes`
```r
remotes::install_github("JohnCoene/gior")
```
## Example
```{r, echo=TRUE}
data("country_data")
country_data %>%
gior() %>%
g_data(from, to, value)
```
### Notes
`gior` supports continents:
- Oceania
- North America
- South America
- Europe
- Asia
- Africa