d3rain: Create a d3rain visualization

Description Usage Arguments Examples

View source: R/d3rain.R

Description

Create a d3rain visualization

Usage

1
d3rain(.data, x, y, toolTip, reverseX = FALSE, title = "")

Arguments

.data

A table of data

x

A numeric 'ranking' variable, e.g. percentile, rank, etc.

y

A factored, ordinal variable

toolTip

Which variable to display on drip tooltips

reverseX

Whether to reverse the x-axis

title

Visualization title

Examples

1
2
3
4
iris %>%
 d3rain(x = Sepal.Length, y = Species, toolTip = Sepal.Length, title = "Sepal Length by Species") %>%
 drip_settings(jitterWidth = 30, dripFill = 'steelblue') %>%
 chart_settings(yAxisTickLocation = 'center')

daranzolin/d3rain documentation built on July 15, 2019, 11:40 p.m.