recharts 韦恩图
2017-10-27 本文已影响9人
李小夭
一、参数说明
echartr(data, x, y, <t>, <type>)
参数说明
二、数据准备
data = data.frame(x=c('Collection 1', 'Collection 2', 'Intersection'),
y=c(40,50,20))
knitr::kable(data)
| x | y |
|---|---|
| Collection 1 | 40 |
| Collection 2 | 50 |
| Intersection | 20 |
三、图表展现
echartr(data, x, y, type='venn')
venn
更多功能请戳官方链接:madlogos.github.io/recharts/Basic_Plots_01_Scatterplot_cn.html#-en