Create a gist now

Instantly share code, notes, and snippets.

@randyzwitch /vegalite.R Secret
Created May 24, 2016

vegalite local outlier factors
library(vegalite)
vegalite() %>%
cell_size(600,300) %>%
add_data(worst500) %>%
encode_y("df_lof", "quantitative") %>%
encode_x("rank", "quantitative") %>%
axis_y(title = "local outlier factor") %>%
axis_x(ticks = 20) %>%
mark_line() %>%
config_color(color = "navy")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment