powered by
mark_point(vl, shape = "circle", size = NULL, opacity = NULL, filled = NULL, color = NULL, fill = NULL, stroke = NULL)
circle
square
cross
diamond
triangle-up
triangle-down
0.0
1.0
vegalite() %>% add_data("https://vega.github.io/vega-editor/app/data/cars.json") %>% encode_x("Horsepower", "quantitative") %>% encode_y("Miles_per_Gallon", "quantitative") %>% mark_point()
Run the code above in your browser using DataLab