| boxes | R Documentation |
Documents the aliases, aesthetics, and qualifiers for the box geom.
box
boxes
x
y
theta
r
color
horizontal: orients the boxes horizontally.
vertical: orients the boxes vertically.
library(duckdb)
con <- dbConnect(duckdb())
dbWriteTable(con, "cars", cars)
dbGetPlot(con, "
visualize
origin as x,
miles_per_gallon as y
from cars
using boxes
")
dbGetPlot(con, "
visualize
origin as y,
miles_per_gallon as x
from cars
using horizontal boxes
")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.