Plotly-powered univariates. Runs on R6
and data.table
.
Very much a work in progress.
Bucket data and draw univariate plots in plotly. Univariate plots show the variation of one or more variables versus one covariate. Also draws a neat exposure histogram.
Factors- Weights
Axis labels
# install.packages("devtools")
devtools::install_github("DexGroves/universe")
library("ggplot2")
library("universe")
data(diamonds)
diamonds %>%
universe(plot_cols = c("x", "y", "z"),
by_col = "price",
buckets = 20,
cut_type = "quantile",
scale = "cartesian")
diamonds %>%
universe(plot_cols = c("x", "y", "z"),
by_col = "price",
buckets = 20,
cut_type = "quantile",
scale = "cartesian",
backend = "ggplot2")
And get this: