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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T16:54:16.000Z (about 2 years ago)
- Last Synced: 2024-11-20T01:25:22.889Z (3 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

Chart.js for R
[](https://travis-ci.com/JohnCoene/charter)
[](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"))
```