Skip to content

R Htmlwidget for ChartGPU library

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

dreamRs/rchartgpu

Repository files navigation

rchartgpu

Lifecycle: experimental R-CMD-check

R Htmlwidget for ChartGPU : ChartGPU is a TypeScript charting library built on WebGPU for smooth, interactive rendering—especially when you have lots of data. See ChartGPU Examples for more.

Installation

You can install the development version of rchartgpu from GitHub with:

# install.packages("pak")
pak::pak("dreamRs/rchartgpu")

Line Chart

Here's a time series in hourly steps over 14 years (2012 - 2026), representing a total of 2,482,560 points (10 series of 248,256).

library(rchartgpu)
chartgpu(eco2mix) # for dataset see data-raw/eco2mix.R

rchartgpu eco2mix example

Scatter Chart

library(rchartgpu)
scattergpu(
  data = ggplot2::diamonds,
  mapping = aes(x = carat, y = price, color = clarity)
) |>
  chartgpu_theme_light(palette = scales::viridis_pal(option = "viridis")(8))

rchartgpu scatter example

About

R Htmlwidget for ChartGPU library

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors