recharts (version 0.0.302)

ePie: Pie charts

Description

ECharts style pie charts.

Usage

ePie(dat, opt = list())

Arguments

dat
vector, names will be treated as labels
opt
option of ECharts.

Value

The HTML code as a character string.

Examples

Run this code
x = runif(6)
names(x) = LETTERS[1:6]
ePie(x)

Run the code above in your browser using DataLab