powered by
Draw a violin chart with scattered dots.
e_violin( e, name = "violin", legend = TRUE, y_index = 0, x_index = 0, symbolSize = 10, areaOpacity = 0.5, binCount = 100, bandWidthScale = 1, ... )
An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.
echarts4r
e_charts
echarts4rProxy
name of the serie.
Whether to add serie to legend.
Indexes of x and y axis.
overall size of symbol.
opacity of violin area.
number of bins for violin plot. More bins will provide a more detailed version of the plot,
scale for the amplitude of violin area
additional options
official documentation
PlantGrowth |> e_charts(group) |> e_scatter(weight) |> e_violin(binCount = 200)
Run the code above in your browser using DataLab