一、參數(shù)說(shuō)明
echartr(data, x, y, <t>, <type>)
參數(shù)說(shuō)明
二年堆、數(shù)據(jù)準(zhǔn)備
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 |
三、圖表展現(xiàn)
echartr(data, x, y, type='venn')
venn
更多功能請(qǐng)戳官方鏈接:madlogos.github.io/recharts/Basic_Plots_01_Scatterplot_cn.html#-en