
mjs_line(mjs, area = FALSE, animate_on_load = FALSE, color = NULL, interpolate = "cardinal")
FALSE
- no)FALSE
- no)NULL
(the default)
to use the default Metrics Graphics colors or if you plan on controlling the colors with CSS.data.frame(year=seq(1790, 1970, 10),
uspop=as.numeric(uspop)) %>%
mjs_plot(x=year, y=uspop) %>%
mjs_line()
Run the code above in your browser using DataLab