recharts 事件河流图
2017-10-20 本文已影响45人
李小夭
一、参数说明
echartr(data, x, y, <t>, <series>, <type>)
![](https://img.haomeiwen.com/i5625320/a5401f97775baebc.png)
二、图表展现
library(recharts)
data(events)
events$link <- 'www.baidu.com'
events$img <- 'inst/favicon.png'
events$title <- paste(rownames(events),events$event)
echartr(events,c(time,event,title,link,img),c(value,weight),type='eventRiver',series)
![](https://img.haomeiwen.com/i5625320/0144fa893ab6f334.png)