g2_line | R Documentation |
One of the most commonly used marks to draw a line based on a series of points, usually used to draw line graphs.
g2_line(encode = NULL, ...)
encode |
encode.shape: line / smooth / vh / hv / hvh / tail. |
Other mark:
g2_area()
,
g2_bar()
,
g2_box()
,
g2_boxplot()
,
g2_cell()
,
g2_chord()
,
g2_col()
,
g2_density()
,
g2_gauge()
,
g2_heatmap()
,
g2_hist()
,
g2_image()
,
g2_interval()
,
g2_lineX()
,
g2_lineY()
,
g2_link()
,
g2_liquid()
,
g2_pie()
,
g2_point()
,
g2_polygon()
,
g2_range()
,
g2_range_x()
,
g2_range_y()
,
g2_rect()
,
g2_shape()
,
g2_text()
,
g2_vector()
,
g2_wordCloud()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.