powered by
mark_square(vl, size = NULL, opacity = NULL, filled = NULL, color = NULL, fill = NULL, stroke = NULL)
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_square()
Run the code above in your browser using DataLab