Boxplot

Histogram

Density

Plot the density on a different Y axis as its range differs much from the that of the histogram.

df %>%
  e_charts() %>% 
  e_histogram(y) %>% 
  e_density(y, name = "density", areaStyle = list(opacity = .4), 
            smooth = TRUE, y_index = 1) %>% 
  e_tooltip()

Linear

iris %>% 
  group_by(Species) %>% 
  e_charts(Sepal.Length) %>% 
  e_line(Sepal.Width) %>% 
  e_lm(Sepal.Width ~ Sepal.Length) %>% 
  e_x_axis(min = 4)
#> Warning: package 'bindrcpp' was built under R version 3.4.4

Polynomial

mtcars %>% 
  e_charts(disp) %>% 
  e_scatter(mpg, qsec) %>% 
  e_loess(mpg ~ disp)