Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JohnCoene/charter
Chart.js for R
https://github.com/JohnCoene/charter
chartjs r rstats visualisation
Last synced: 3 months ago
JSON representation
Chart.js for R
- Host: GitHub
- URL: https://github.com/JohnCoene/charter
- Owner: JohnCoene
- License: other
- Created: 2020-01-24T15:54:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T16:54:16.000Z (almost 2 years ago)
- Last Synced: 2024-05-21T02:09:46.906Z (6 months ago)
- Topics: chartjs, r, rstats, visualisation
- Language: R
- Homepage:
- Size: 261 KB
- Stars: 34
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - JohnCoene/charter - Chart.js for R (R)
README
# charter
![](https://www.chartjs.org/img/chartjs-logo.svg)
Chart.js for R
[![Travis build status](https://travis-ci.com/JohnCoene/charter.svg?branch=master)](https://travis-ci.com/JohnCoene/charter)
[![R build status](https://github.com/JohnCoene/charter/workflows/R-CMD-check/badge.svg)](https://github.com/JohnCoene/charter/actions)## Installation
You can install the package from Github
```r
# install.packages("remotes")
remotes::install_github("JohnCoene/charter")
```## Example
``` r
library(charter)chart(cars, caes(speed, dist)) %>%
c_scatter()# remotes::install_github("allisonhorst/palmerpenguins")
data(penguins, package = 'palmerpenguins')chart(data = penguins, caes(flipper_length_mm, body_mass_g)) %>%
c_scatter(caes(color = species, group = species)) %>%
c_colors(c("darkorange","darkorchid","darkcyan"))
```![](inst/example.png)