recharts (version 0.0.302)

eFunnel: Funnel charts

Description

ECharts style Funnel charts.

Usage

eFunnel(dat, fix = T, opt = list())

Arguments

dat
vector, names will be treated as labels
fix
fix the max of data into 100 percents, default is true.
opt
option of ECharts.

Value

an htmlwidgets object which can be rendered by Browser.

Examples

Run this code
x = (1:5)*20
names(x) = LETTERS[1:5]
eFunnel(x,theme='macarons') +eTitle(title = "Funnel")
testData <- read.csv(system.file("examples", "testDataForMap.csv", package = "recharts"),stringsAsFactors=FALSE,encoding = "UTF-8")
eFunnel(head(testData), ~province, ~data2)

Run the code above in your browser using DataLab