sankeyBarChart: Create a D3 JavaScript Sankey Barchart

Description Usage Arguments Examples

Description

To create a google-analytics-like sankey barchart.

Usage

1

Arguments

data

A data frame with two column: label - contains the name of steps, value - contain the value of the steps

height

height for the plot (if NULL then width is automatically determined based on context.)

width

width for the plot (If NULL then height is automatically determined based on context, allowing reactivity)

Examples

1
2
3
4
5
6
## Not run: 
   data <- data.frame(label=c("step 1","step 2","step 3","step 4"),
                      value=c(1000,600,400,100))
   sankeyBarChart(data)

## End(Not run)

alberthkcheng/funnelD3 documentation built on May 10, 2019, 8:51 a.m.