Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merlinoa/rfrappe
htmlwidget for frappe charts js library
https://github.com/merlinoa/rfrappe
charts frappe htmlwidgets r shiny
Last synced: 27 days ago
JSON representation
htmlwidget for frappe charts js library
- Host: GitHub
- URL: https://github.com/merlinoa/rfrappe
- Owner: merlinoa
- Created: 2017-11-03T20:03:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T21:54:49.000Z (about 4 years ago)
- Last Synced: 2024-01-28T23:08:58.887Z (11 months ago)
- Topics: charts, frappe, htmlwidgets, r, shiny
- Language: R
- Homepage: https://merlinoa.github.io/rfrappe
- Size: 1.19 MB
- Stars: 25
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
- awesome-shiny-extensions - rfrappe - HTML widget for the Frappe Charts JavaScript library. (Visualization / General-Purpose)
- jimsghstars - merlinoa/rfrappe - htmlwidget for frappe charts js library (R)
README
---
output: github_document
---# rfrappe
[![Build Status](https://travis-ci.org/merlinoa/rfrappe.svg?branch=master)](https://travis-ci.org/merlinoa/rfrappe)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/pkgdown)](https://cran.r-project.org/package=rfrappe)`rfrappe` is an R htmlwidget for the [Frappe Charts](https://github.com/frappe/charts) JavaScript library. Frappe Charts creates simple, responsive, modern SVG charts with zero dependencies.
## Example
![Frappe Example](img/example.gif)
Above gif copied from the [Frappe Charts](https://github.com/frappe/charts/blob/master/README.md) README.
## Installation
```{r, eval = FALSE}
devtools::install_github("merlinoa/rfrappe")
```## Usage
```{r, fig.width=9}
library(rfrappe)data <- list(
labels = c("12am-3am", "3am-6pm", "6am-9am", "9am-12am", "12pm-3pm",
"3pm-6pm", "6pm-9pm", "9am-12am"),
datasets = list(
list(
title = "Some Data",
color = "light-blue",
values = c(25, 40, 30, 35, 8, 52, 17, -4)
),
list(
title = "Another Set",
color = "violet",
values = c(25, 50, -10, 15, 18, 32, 27, 14)
)
)
)rfrappe(list(
title = "My Awesome Bar Chart",
data = data,
type = "bar"
))
```