https://github.com/react-r/reactvega
react-vega as an input
https://github.com/react-r/reactvega
Last synced: 8 months ago
JSON representation
react-vega as an input
- Host: GitHub
- URL: https://github.com/react-r/reactvega
- Owner: react-R
- Created: 2020-02-02T18:27:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T06:18:03.000Z (about 3 years ago)
- Last Synced: 2025-06-02T02:31:29.666Z (9 months ago)
- Language: JavaScript
- Size: 3.3 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# reactvega
`reactvega` is a test package to explore [`react-vega`](https://github.com/vega/react-vega) as an official Shiny input. With the package I would like to
1. try out React hooks with `reactR`
2. explore a non-traditional input where `value` is not really relevant since the input will result in multiple communicated values based on Vega `signals`
3. provide another example to help users understand how to create `React`-based inputs
4. have fun with `react-vega` and see how we might leverage it with the [`vegawidget`](https://github.com/vegawidget) set of packages
## Installation
You can install the experimental version of `reactvega` from Github with:
``` r
remotes::install_github("react-R/reactR@try-addelid")
remotes::install_github("react-R/reactvega")
```
## Example
See example at [app.R](https://github.com/react-R/reactvega/blob/master/app.R).