# NOT RUN {
vega_schema()
vega_schema("vega", major = FALSE)
vega_schema("vega_lite", version = "5.2.0")
# creating a spec by hand
spec <-
list(
`$schema` = vega_schema(),
width = 300,
height = 300
# and so on
) %>%
as_vegaspec()
# }
Run the code above in your browser using DataLab