Description Usage Arguments Value
Scatter Chart
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | scatter_echart(
data,
x_var,
y_var,
label_var,
x_axis_name,
y_axis_name,
x_lower_bound,
x_upper_bound,
y_lower_bound,
y_upper_bound,
increment = 1000,
symbol_size = 20,
shrink_width = NULL,
toolbox_features = c("saveAsImage", "restore")
)
|
data |
a data frame |
x_var |
character. The variable that will be the X axis in the chart. |
y_var |
character. The variable that will be the Y axis in the chart. |
label_var |
character. The variable that will be the label of point in the chart. |
x_axis_name |
character. The name of X axis. If missing, the function will use
information in |
y_axis_name |
character. The name of Y axis. If missing, the function will use
information in |
x_lower_bound |
numeric. The lower bound of x axis. |
x_upper_bound |
numeric. The upper bound of x axis. |
y_lower_bound |
numeric. The lower bound of Y axis. |
y_upper_bound |
numeric. The upper bound of x axis. |
increment |
numeric, default 1000. The increment of secondary Y axis ticks. |
symbol_size |
numeric, default 20. The size of point in chart. |
shrink_width |
character, default NULL. It uses |
toolbox_features |
character vectors, default |
an object of class echarts4r
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.