cosname / recharts

An interface to ECharts
https://recharts.cosx.org
BSD 3-Clause "New" or "Revised" License
337 stars 150 forks source link

Add Funnel Charts #27

Closed Lchiffon closed 8 years ago

Lchiffon commented 8 years ago

写了一个漏斗图的函数,htmlwidgets框架太好用!

可以输入向量或者是数据框

x = (1:5)*20
names(x) = c("订单","咨询","访问","点击","展现")
eFunnel(x,theme='macarons') +eTitle(title = "漏斗图")
testData <- read.csv(system.file("examples", "testDataForMap.csv",
                                       package =  "recharts"),stringsAsFactors=FALSE,encoding = "UTF-8") 
eFunnel(head(testData), ~province, ~data2)

funnel