Publications by Daryl Lim

Highcharter Plugins

13.03.2023

1 Setup Highcharts highcharter by Joshua Kunst # Load packages library(tidyverse) library(highcharter) 2 Modules, plugins and custom scripts List of modules and plugins in highcharter 2.1 Modules # List modules dir( system.file( "htmlwidgets/lib/highcharts/modules", package = "highcharter" ) ) [1] "accessibility.js" "annota...

47288 sym R (34138 sym/45 pcs)

Highcharter Accessibility

11.03.2023

1 Setup # Load packages library(tidyverse) ── Attaching core tidyverse packages ────────────────────────────────────────────────────── tidyverse 2.0.0 ── ✔ dplyr 1.1.0 ✔ readr 2.1.4 ✔ forcats 1.0.0 ✔ stringr ...

13837 sym R (10430 sym/16 pcs)

Highcharter Advanced Chart Features

11.03.2023

1 Setup highcharter by Joshua Kunst # Load packages library(tidyverse) ── Attaching core tidyverse packages ───────────────────────────────────────────────────── tidyverse 2.0.0 ── ✔ dplyr 1.1.0 ✔ readr 2.1.4 ✔ forcats...

46471 sym R (27389 sym/24 pcs)

Highcharter Machine Learning

16.02.2023

1 Hello Highcharts highcharter by Joshua Kunst # Load packages library(tidyverse) library(highcharter) 2 Regression Regression Highcharts Regression plugin by Ignacio Vazquez 2.1 Linear regression # Linear regression # Demo data data(penguins, package = "palmerpenguins") demo_data <- penguins[complete.cases(penguins), ] # Chart hchart( object...

43618 sym R (30851 sym/25 pcs)

Highcharter Experiments

14.02.2023

1 Installation highcharter by Joshua Kunst # Development version: remotes::install_github("jbkunst/highcharter") Highcharter Changelog Highcharts Changelog packageVersion("highcharter") [1] ‘0.9.4.9000’ packageDate("highcharter") [1] "2023-02-11" Highcharter 0.9.4.9000 uses HighchartsJS 10.2.0 2 Setup # Load packages library(tidyverse) Regist...

9861 sym R (3438 sym/11 pcs)

Plotly 3D Charts

15.01.2023

1 Hello # Load packages library(tidyverse) library(plotly) 2 3D Scatter Plots 3D Scatter Plots in R Reference scatter3d traces 2.1 Basic 3D Scatter Plot # Data data(mtcars) mtcars <- mtcars %>% mutate(am = case_when(am == 0 ~ "Automatic", am == 1 ~ "Manual")) %>% mutate(am = as_factor(am)) # Plot plot_ly(mtcars, ...

28928 sym R (31071 sym/70 pcs)

Plotly Subplots

15.01.2023

1 Hello # Load packages library(tidyverse) library(plotly) 2 Map Subplots and Small Multiples Map Subplots and Small Multiples in R 2.1 Basic Subplots with Maps # Data df <- read_csv("https://raw.githubusercontent.com/plotly/datasets/master/1962_2006_walmart_store_openings.csv") Rows: 2992 Columns: 16── Column specification ─────�...

9898 sym R (12806 sym/27 pcs)

Plotly Transforms

15.01.2023

1 Hello # Load packages library(tidyverse) library(plotly) 2 Filter Filter in R # Plot plot_ly(type = "scatter", x = mtcars$hp, y = mtcars$qsec, text = rownames(mtcars), hoverinfo = "text", mode = "markers", transforms = list(list(type = "filter", target = "y", ...

9273 sym R (7702 sym/19 pcs)

Plotly Custom Controls

15.01.2023

1 Hello # Load packages library(tidyverse) library(plotly) 2 Buttons Buttons in R 2.1 Restyle Buttons, Update One Data Attribute # Data x <- seq(-2 * pi, 2 * pi, length.out = 1000) df <- data.frame(x, y1 = sin(x)) # Plot plot_ly(df, x = ~x) %>% add_lines(y = ~y1) %>% layout(title = "Button Restyle", xaxis = list(domain ...

31040 sym R (31546 sym/26 pcs)

Plotly Animations

16.01.2023

1 Hello # Load packages library(tidyverse) library(plotly) 2 Intro to Animations Intro to Animations in R Animating views 2.1 Basic Example # Data df <- tibble(x = c(1, 2 ,1), y = c(1, 2 ,1), f = c(1, 2, 3)) # Plot plot_ly(df, x = ~x, y = ~y, frame = ~f, type = "scatter", mode...

7629 sym R (29192 sym/26 pcs)